JSON ( JavaScript Object Notation ) is an open standard format that uses human-readable text to transmit data objects consisting of attribute–value pairs. It is used primarily to transmit data between a server and web application, as an alternative to XML.

Here’s an example response from JSON API:

Important ponit in JSON Restful API

* JSON-based data formats in a RESTful API
* References to other JSON-based resources (aka ‘linking’).
* Resource collections and pagination
* How to map (and how not to map) HTTP methods to Resource CRUD
* Resource partial updates
* Supporting HTTP Method Overloading for clients that don’t support HTTP PUT and DELETE
* API versioning strategies
* Meaningful Error responses
* Many-to-many resource relationships
* HTTP Caching and Optimistic concurrency control.
* Authentication and Security