360,610 questions
-6
votes
0
answers
62
views
What does "top-level value" mean when parsing JSON? [duplicate]
I'm trying to unmarshal a JSON string into a Go struct, but I keep getting the error:
invalid character '}' after top-level value
Here is my code to reproduce this error:
package main
import (
&...
0
votes
0
answers
37
views
Trouble with coding a modal that displays when a specific div is clicked [duplicate]
I know how to make a modal appear on click but for some reasons, i don't seem to be able to understand how to incorporate that on y aldready established functions.
basically I have two functions: One ...
1
vote
1
answer
105
views
Using jq how to correctly read a pair containing a backslash character?
I have a script with reading from json file in this way:
jq -c '.[]' input.json | while read pair; do
echo "$pair" | jq -r '.[0]'
done;
The above throws `parse error: Invalid numeric ...
-7
votes
0
answers
109
views
Python JSON can't save and open the file [closed]
When I try to save or open a JSON file, I get the error json.decoder.JSONDecodeError: Expecting value: line 1 column 21 (char 20)
And it appears only if I try to save variables to a file, but if I ...
0
votes
0
answers
47
views
OPENROWSET and inserting JSON payloads [duplicate]
I'm trying to build a stored proc for a JSON payload file for a table for further work in that stored proc.
I would like to parameterise the exec to something like @MyJsonFile
SQL Server gives me an ...
Advice
0
votes
1
replies
56
views
Create an X word combination linked to a specific set of data
To start, here is an example:
When a messenger app wants you to share your contact information, they assign you a random 4-6 word combination (e.g. TIGER-TRUCK-FIRES-GHOST-TILES) that acts as a human ...
-2
votes
0
answers
50
views
Jquery adding/removing html rows + JSON arrays [closed]
I'm trying to make a system where a user can add or delete a row into a temporary table so that they can edit a JSON "table" that'll be sent via AJAX to get some query results (haven't ...
1
vote
1
answer
45
views
Determine table column in DataTables based on row data
I am trying to create to figure out how to created the first table column in "ten99" based on the data that is in the rowData. For example if the "ssn" field on each row is not ...
-2
votes
0
answers
45
views
Flutter Data Response cut off [closed]
I run a laravel/vue app on wsl/ubuntu on my windows machine. I have a flutter app that gets data from it and I have a route that if i request it 10 times,getting the same exact data, it will fail 2-3 ...
Advice
0
votes
2
replies
39
views
JSON Database for login details
Can we use JSON for storing login details just for the basic projects?.... ....................................................................................... . ................. . .. ... ... . ....
0
votes
2
answers
74
views
JsonPath nested conditions
I have this sample json
{
"accessRequestId": "2c91808b6ef1d43e016efba0ce470904",
"requestedBy": {
"type": "IDENTITY",
"id&...
4
votes
1
answer
87
views
How to map different JSON field names to a unified structure in Python?
I’m working with JSON data coming from multiple external APIs.
The data is semantically the same, but field names and structures differ between sources.
For example:
data_a = {"event_time": &...
0
votes
0
answers
60
views
How to handle LONGBLOB-type fields in gbase database?
There is a LONGBLOB-type field in a table that actually stores JSON-formatted data (as shown below).
Column Name
Data Type
user_id
INT
id
INT
harbour_name
VARCHAR
name
VARCHAR
type
VARCHAR
properties
...
Advice
0
votes
6
replies
16
views
UK Met Office migrating from DataPoint to DataHub
Prior to migrating to DataHub I used DataPoint and the data return included the list below. Is this type of data available in DataHub. The data I am getting now using DataHub looks like this.
...
1
vote
1
answer
122
views
Google Apps Script HTML scriptlets trucates JSON object containing a single quote and a URL when using force-printing scriptlets
I'm running into an interesting issue with Google Apps Script HTML force-printing scriptlets (<?!= ... ?>) where a JSON object is being strangely truncated directly before the double forward ...