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

Tags: , , , , ,

About: Prem Tiwari

Prem Tiwari is the founder of and is a professional developer who has vast experience in PHP and open source technologies. Apart from this, he is a blogger by hobby.

You may also like:

Follow us!

Get Free Access of 400+ Scripts

Don't worry you'll not be spammed!

Featured eBook

WordPress Security Guide

Free Guide: Learn how to implement security guideline in your WordPress site...


Pincode Finder

pincode-finder tool

Online Pincode Finder

Best tool to locate post Office address and pincodes of all india...