What is JSON? For what is used for?

devquora
devquora

Posted On: Feb 22, 2018

 

JSON (JavaScript Object Notation) is a data storage and communication format based on key-value pair of JavaScript object literals. It is a lightweight text-based open standard designed for human-readable data interchange which is derived from the JavaScript programming language for representing simple data structures and associative arrays, called objects.

In JSON

  • all property names are surrounded by double quotes.
  • values are restricted to simple data: no function calls, variables, comments, or computations.

JSON is used for communication between javascript and serverside technologies.

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    JSON Interview Questions

    How to convert Javascript objects into JSON?

    JSON.stringify(value); is used to convert Javascript objects into JSON.Example Usage: var obj={"website":"Onlineint..

    JSON Interview Questions

    List types Natively supported by JSON?

    JSON supports Objects, Arrays, Primitives (strings, numbers, boolean values (true/false), null) data types...

    JSON Interview Questions

    What does Object.create do?

    Object.create creates a new object with the specified prototype object and properties...