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 founder of freewebmentor.com and Software developer from New Delhi (India). Follow Prem's development codes on facebook, and make sure you check out freewebmentor.com for the latest in web development related Tips with the complete code.


You may also like:

Follow us!

Get Free Access of 350+ Scripts

Don't worry you'll not be spammed!

Featured eBook

WordPress Security Guide

Learn how to implement security guideline in your WordPress site...

DOWNLOAD

Pincode Finder

pincode-finder tool

Online Pincode Finder

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

SEARCH NOW