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
  • Class
    Description
    The Json class provides JSON parsing, generation and bean conversion.
    A JsonArray represents 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 a JsonArray instance.
    A JsonObject represents 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 a JsonObject instance.
    A JsonParseException is thrown when a JSON document couldn't be parsed.