The {@link oaj.json.JsonParser} class is used to parse JSON into POJOs.
The class hierarchy for the builder of this parser is:
- {@link oaj.Context.Builder}
- {@link oaj.BeanContextable.Builder}
- {@link oaj.parser.Parser.Builder}
- {@link oaj.parser.ReaderParser.Builder}
- {@link oaj.json.JsonParser.Builder}
Refer to the builder javadocs for configurable settings.
The following pre-configured parsers are provided for convenience:
- {@link oaj.json.JsonParser}
- {@link oaj.json.JsonParser#DEFAULT DEFAULT}
- {@link oaj.json.JsonParser#DEFAULT_STRICT DEFAULT_STRICT}
The JSON parser supports ALL valid JSON, including:
-
Javascript comments.
-
Single or double quoted values.
-
Quoted (strict) or unquoted (non-strict) attributes.
-
JSON fragments (such as string, numeric, or boolean primitive values).
-
Concatenated strings.