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
-
ClassDescriptionThe
Jsonclass provides JSON parsing, generation and bean conversion.AJsonArrayrepresents a JSON array as a regular list, with additional fluent construction methods and typed value retrieval.Captures an action that has to be executed on aJsonArrayinstance.AJsonObjectrepresents a JSON object as a regular ordered map, with additional fluent construction methods and typed value retrieval.Captures an action that has to be executed on aJsonObjectinstance.AJsonParseExceptionis thrown when a JSON document couldn't be parsed.