Category "json"

python3 JSONDecodeError: Expecting value: line 1 column 1 (char 0)

I'm facing this error in python3.6. My json file looks like this: { "id":"776", "text":"Scientists have just discovered a bizarre pattern in global weather.

Write List<double> to Json array without indentation using System.Text.Json

NB: I am using System.Text.Json not JSON.NET for which there is similar question that has been answered. I need the same answer but for System.Text.Json. I wou

Looping though JSON classic ASP

I am trying to use aspJSON1.17.asp to get data from an JSON file that I am pulling back. ASPJson Site is located here now. http://web.archive.org/web/2016010918

'RegisterAPI' should either include a `serializer_class` attribute, or override the `get_serializer_class()` method

I am trying to display a register_view here and I'm getting the error. I have made some changes to the views fil,e but i am still getting the errors and i don't

Display JSON data to HTML page using JavaScript

First time being exposed to JSON so please explain like I'm 5 without the jargon. I have been given a JSON file like this and need to display these items in a l

Get values in JSON object from html input text and label

I have a HTML by which currently getting the values of input elements in loop in an array. But now I want this in json object with its label. Below is my html

Parsing JSON messages in C++

I am writing an embedded C++ MQTT application which subscribes to topics and receives messages every few seconds. I need to parse the received String message an

How to send JSON file as part of request body in CURL POST command

I am using CURL command line to send HTTP POST to a web service. I want to include a file's contents as a PART of the body of the POST command. Is this possible

Error while trying to create external table in hive

I am trying to create an external table using hive with hadoop but somehow it failed. These are the error I get when I try to run my queries. 02:23:29.516 [Hive

'\' character is getting added when executing in graphql

Not able to figure out how i can get rid of '' character. I have tried few things but it didnt work out for me. I think postgressql changes json string like tha

Twitter Typeahead Searching Comma Separated Values

I'm using typeahead v0.11.1, it all appears to be working apart form one thing. I am searching a JSON dataset, a snippet of this can be seen below; [ {

How to solve this error: "internal/modules/cjs/loader.js:638 throw err; ^"

I want to run my Vue.js using npm on localhost:8080 but they give me this error. Is there a way to solve this issue? This error only occurs when I tried to inst

Loop through JSON object in mysql function

I have a json object which has list of products under a bill. I want to write a mysql function for it which reads the data from the json and iterates over it on

Can I pass a string variable to jq not the file?

I want to convert JSON string into an array in bash. The JSON string is passed to the bash script as an argument (it doesn't exist in a file). Is there a way o

Can I pass a string variable to jq not the file?

I want to convert JSON string into an array in bash. The JSON string is passed to the bash script as an argument (it doesn't exist in a file). Is there a way o

Fluentbit nested json parsing

I have the following log { "log": { "header": { "key": "value", "nested": "{\"key1\":\"value\",\"key2\":\"value\"}", "dateTime": "2019-

Apache-ranger python library JSONDecoder error

So i'm trying to create a policy using the ranger python client, and this is my code (redacted confidential info for security purposes) from apache_ranger.model

How to merge multiple json files into one file in python

I want to merge multiple json files into one file in python. The thing that I want to do is if there are several .json files like: # temp1.json [{'num':'1', 'i

Error message when attempting launch plotly dash

I checked the errors and looked up everything I could try to fix the issue in every way I could. This is the error I'm getting: Can someone please tell me what

Python, Json - get_wiki_main_image doesn't return a link for img

Why doesn't the script below return a photo url link? I try to modify the code but it has no effect. import requests import json def get_wiki_main_image(title)