Popular Post: JavaScript

JSON Stringify

The JSON.stringify() method in Javascript is used to create a JSON string. It is needed to serialize the data to string for API or web server.

JSON objects

JSON objects can be created with JavaScript. For creating JSON object we use curly braces {}. JSON object contains key/value pairs.

JSON array

JSON array can store multiple values. It is same as array in JavaScript. In JSON, array values must be string, number, boolean or object.

JSON Server

To receive Data or sending data to web server we use JSON.stringify() and JSON.parse(). A common use of JSON is to exchange data on web server.

JSON PHP

PHP has some built-in functions called json_encode() to handle JSON. JSON can be used to read data from a web server, and display the data in a web page.

JSON HTML

JSON file containing data can very easily be translated into JavaScript. JavaScript can be used to make HTML in web page.

JSON and JSONP

JSON stands for JavaScript object notation while JSONP stands for JavaScript object notation with padding.