Category "json"

gcloud auth activate-service-account [ERROR] Please ensure provided key file is valid

I've spent already several hours with this problem but it seems that I can't activate a service account to develop locally an App Engine project (If I deploy te

TypeError: Converting circular structure to JSON in nodejs

I am using request package for node.js Code : var formData = ({first_name:firstname,last_name:lastname,user_name:username, email:email,password:password});

Use ScriptControl to parse JSON in VBA: transform result to dictionaries and collections

I would like to use Microsoft ScriptControl to parse a JSON string in VBA, and then transform the resulting Object into Dictionary and Collection objects. I alr

How to format a bash array as a JSON array

I have a bash array X=("hello world" "goodnight moon") That I want to turn into a json array ["hello world", "goodnight moon"] Is there a good way for me

Scrapy: How to output items in a specific json format

I output the scraped data in json format. Default scrapy exporter outputs list of dict in json format. Item type looks like: [{"Product Name":"Product1", "Cate

Unrecognized token error while converting JSON String to Java Object List

here is the JSON string which I want to convert as java object List. String manuallyVerificationRemarks = "[{ "logedInUserName": "forum-admin", "action

How to exclude property from Json Serialization

I have a DTO class which I Serialize Json.Serialize(MyClass) How can I exclude a public property of it? (It has to be public, as I use it in my code somewhe

How to check whether a given string is valid JSON in Java

How do I validate a JSON string in Java? Or could I parse it using regular expressions?

In GraphQL what's the meaning of "edges" and "node"?

I am consuming a GraphQL endpoint and I get results that contain edges and node tags. I am supplying a clean JSON structure for my query, so this doesn't make s

mustache.js date formatting

I have started using mustache.js and so far I am very impressed. Although two things puzzle me. The first leads on to the second so bear with me. My JSON {"g

jq convert to csv with keys to column rows

I have JSON example like this { "server1": { "dhcp-libs": "12:4.2.5-83.el7.centos.1", "perl-Time-Local": "1.2300-2.el7", "kbd-legacy": "1.15.5-15.

Where is the file angular-cli.json in the new @angular/cli version?

I'm new in angular2 and i have tried to create a project with cli, but when I try to change the css adding it in angular-cli.json, I have detected that this fil

How to map JSON field names to different object field names?

What is the equiv way in Jackson json annotation for the following jax-b annotations? I need to produce json rather than xml and need to know the conventional

Serialize datetime.datetime object as JSON

Currently working on a quick little project in python and am attempting to encode an object into a JSON string. I've done this several times before without any

Converting JavaScript JSON data to Python JSON

I have JavaScript JSON data: var data = '{a: 10, b: 20}' I want to convert it to Python JSON. How can I do? My situation: I have script that read text from

protobuf - field name with special characters

I'm trying to manually model a .proto file representing a JSON which has one of the field names with a dot and an @ sign. I'm getting an error that doesn't expl

Newtonsoft Json Error converting value {null} to type 'System.Int32'

When performing an AJAX request I am getting the following error: Error converting value {null} to type 'System.Int32'. Path '[5].tabID', line 1, position 3

How to parse the following JSON to retrieve the name of the item in snowflake sql?

[ { "itemId": "HWKDVCXKU5", "name": "A", "quantity": 1.000000000000000e+00, "storeId": 1.150192000000000e+06, "type": "structure" },

Need to display only array value in JSON output

How to display only array value in JSON out in php I am using below PHP code echo '{"aaData":'.json_encode($user_details).'}'; And it return below output {

Get a JSON file (that contains Hebrew values) from a remote server and parse it in Node.js

I have a dynamic JSON file hosted on a remote server (acting as some kind of an API), and it also contains some Hebrew text in its values. How can I save the r