O'Reilly logo

Java EE 7 Development with NetBeans 8 by David R. Heffelfinger

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 8. Java API for JSON Processing

JSON (short for JavaScript Object Notation) is a lightweight data interchange format. JSON's primary advantage over other data interchange formats such as XML is that JSON is both easy for humans to read and easy for computers to generate and parse. It is commonly used in many modern web applications.

Java EE 7 introduces the Java API for JSON Processing (JSON-P), which is a standard Java EE API to parse and generate JSON data.

JSON-P provides two ways to both parse and generate JSON data: the object model API and the streaming API.

In this chapter, we will cover the following topics:

  • The JSON-P object model API:
    • Generating JSON data with the JSON-P object model API
    • Parsing JSON data with the JSON-P object model ...

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