A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.oracle.com/javaee/7/tutorial/jsonp002.htm below:

19.2 JSON Processing in the Java EE Platform

Java Platform, Enterprise Edition: The Java EE Tutorial

19.2 JSON Processing in the Java EE Platform

Java EE includes support for JSR 353, which provides an API to parse, transform, and query JSON data using the object model or the streaming model described in Generating and Parsing JSON Data. The Java API for JSON Processing contains the following packages.

Table 19-1 Main Classes and Interfaces in javax.json

Class or Interface Description

Json

Contains static methods to create instances of JSON parsers, builders, and generators. This class also contains methods to create parser, builder, and generator factory objects.

JsonReader

Reads JSON data from a stream and creates an object model in memory.

JsonObjectBuilder

JsonArrayBuilder

Create an object model or an array model in memory by adding elements from application code.

JsonWriter

Writes an object model from memory to a stream.

JsonValue

Represents an element (such as an object, an array, or a value) in JSON data.

JsonStructure

Represents an object or an array in JSON data. This interface is a subtype of JsonValue.

JsonObject

JsonArray

Represent an object or an array in JSON data. These two interfaces are subtypes of JsonStructure.

JsonString

JsonNumber

Represent data types for elements in JSON data. These two interfaces are subtypes of JsonValue.

JsonException

Indicates that a problem occurred during JSON processing.


Table 19-2 Main Classes and Interfaces in javax.json.stream

Class or Interface Description

JsonParser

Represents an event-based parser that can read JSON data from a stream or from an object model.

JsonGenerator

Writes JSON data to a stream one element at a time.


Table of Contents Java Platform, Enterprise Edition: The Java EE TutorialExpand

|

Collapse

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4