From the course: JSON Processing with Java EE

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Headline features of JSON-P

Headline features of JSON-P

From the course: JSON Processing with Java EE

Start my 1-month free trial

Headline features of JSON-P

- [Narrator] The JSON Processing API has a wide range of features centered on the two main ways that it manipulates JSON. With an object model and a streaming model. The JSON-P JSR specifies features for generating, parsing, querying, and transforming JSON data. It provides two models. An object model and a streaming model that provide different ways to build and process JSON documents. The API consists of three packages. The jsonx.json package provides the object model API for processing JSON data. It includes classes that model the JSON structure and factories for JSON readers and writers. You will learn all about how to use this API later on in this course. The javax.json.streaming package provides the streaming model API that parses and generates JSON data. It includes factories for creating parses and generators. We will dive deeper into this feature later on in this course. The third package, javax.json.spi, is a service provider interface used to plug in implementations for…

Contents