November 2017
Intermediate to advanced
398 pages
10h 14m
English
There are different interfaces that are available when setting up object-based APIs through JSON. The first is the static method created by using the class Json. It sets up any method, including factory objects and build structures.
The JsonGenerator class allows us to write a single value at one time, when using JSON data to record a stream of information.
The JsonReader class reads a data element and then creates an object in the memory for all relevant information.
The JsonObjectBuilder and JsonArrayBuilder classes create JSON objects and arrays in the memory by producing the required values from the Java code.
The JsonWriter class allows us to write an object saved in the memory to an output stream. There ...
Read now
Unlock full access