Best Practices REST & JSON API Design for Java Developers

| Last Updated: | In: Java


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 Point in JSON Restful API

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


About: Prem Tiwari

Prem Tiwari is the founder of freewebmentor.com and is a professional developer who has vast experience in PHP and open source technologies. Apart from this, he is a blogger by hobby and also he has been a regular speaker of WordPress sessions in various IT Companies.


You may also like:


, , , , ,