O'Reilly logo

RESTful Java Web Services - Second Edition by Jobinesh Purushothaman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 2. Java APIs for JSON Processing

In the previous chapter, you were introduced to the REST architectural style. Remember that REST does not prescribe any specific message format for client-server communication. One can use an appropriate format for representing messages as long as the chosen format is supported by HTTP. XML and JSON are the two most popular formats used by RESTful web services today. Out of these two formats, JSON has been widely adopted by many vendors because of it is simple and lightweight. In this chapter, you will learn more about the JSON message format and various processing tools and frameworks related to JSON.

The following topics are covered in this chapter:

  • A brief overview of JSON
  • Using the JSR 353—Java API for ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required