Top "Json" questions

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

Use of PUT vs PATCH methods in REST API real life scenarios

First of all, some definitions: PUT is defined in Section 9.6 RFC 2616: The PUT method requests that the enclosed entity be …

json rest http put http-method
How to convert JSON data into a Python object

I want to use Python to convert JSON data into a Python object. I receive JSON data objects from the …

python json django
get keys of json-object in JavaScript

I have a json-object in JavaScript and I want to get the used keys in it. My JavaScript-Code looks like …

javascript json
Write / add data in JSON file using Node.js

I am trying to write JSON file using node from loop data, e.g.: let jsonFile = require('jsonfile'); for (i = 0; …

javascript json node.js fs
json parsing error syntax error unexpected end of input

I got the following piece of code function pushJsonData(productName) { $.ajax({ url: "/knockout/SaveProduct", type: "POST", contentType: "application/json", dataType: "…

jquery ajax json asp.net-mvc-4 knockout.js
How to use cURL to get jSON data and decode the data?

So I have a link that returns a jSON object, and I need to have it decoded and put into …

php json api curl
jQuery loop over JSON result from AJAX Success?

On the jQuery AJAX success callback I want to loop over the results of the object. This is an example …

jquery ajax json
Date format Mapping to JSON Jackson

I have a Date format coming from API like this: "start_time": "2015-10-1 3:00 PM GMT+1:00" Which is YYYY-DD-MM HH:…

java json date jackson pojo
JsonMappingException: No suitable constructor found for type [simple type, class ]: can not instantiate from JSON object

I am getting the following error when trying to get a JSON request and process it: org.codehaus.jackson.map.…

java json spring annotations jackson
How to convert JSON object to JavaScript array?

I need to convert JSON object string to a JavaScript array. This my JSON object: {"2013-01-21":1,"2013-01-22":7} And …

javascript json