Top "Json" questions

JSON (JavaScript Object Notation) is a serializable data interchange format intended to be machine and human readable.

How do I POST JSON data with cURL?

I use Ubuntu and installed cURL on it. I want to test my Spring REST application with cURL. I wrote …

json rest spring-mvc curl http-headers
What is the correct JSON content type?

I've been messing around with JSON for some time, just pushing it out as text and it hasn't hurt anybody (…

json http-headers content-type
Why can't Python parse this JSON data?

I have this JSON in a file: { "maps": [ { "id": "blabla", "iscategorical": "0" }, { "id": "blabla", "iscategorical": "0" } ], "masks": [ "id": "valore" ], "om_points": "value", "…

python json parsing
Can comments be used in JSON?

Can I use comments inside a JSON file? If so, how?

json comments
Parse JSON in JavaScript?

I want to parse a JSON string in JavaScript. The response is something like var response = '{"result":true,"count":1}…

javascript json parsing
How to parse JSON in Java

I have the following JSON text. How can I parse it to get the values of pageName, pagePic, post_id, …

java json parsing
Convert JS object to JSON string

If I defined an object in JS with: var j={"name":"binchen"}; How can I convert the object to JSON? …

javascript json string object
How do I write JSON data to a file?

I have JSON data stored in the variable data. I want to write this to a text file for testing …

python json
How to convert jsonString to JSONObject in Java

I have String variable called jsonString: {"phonetype":"N95","cat":"WP"} Now I want to convert it into JSON Object. I …

java arrays json parsing
How do I turn a C# object into a JSON string in .NET?

I have classes like these: class MyDate { int year, month, day; } class Lad { string firstName; string lastName; MyDate dateOfBirth; } And …

c# .net json serialization