Package rife.json
package rife.json
Provides JSON parsing, generation and bean conversion.
JSON templates interoperate directly with this package: whole JSON
structures, numbers and literals are embedded into template values with
setValue, while string content that appears inside quoted
positions should be set with setValueEncoded so that it's
escaped by the template's JSON encoder.
- Since:
- 1.10
-
ClassDescriptionProvides JSON parsing, generation and bean conversion.Represents a JSON array as a regular list, with additional fluent construction methods and typed value retrieval.Functional interface that captures an action to execute on a
JsonArrayinstance.Represents a JSON object as a regular ordered map, with additional fluent construction methods and typed value retrieval.Functional interface that captures an action to execute on aJsonObjectinstance.Thrown when a JSON document couldn't be parsed, reporting the exact location of the problem.