JsonValue objects. Extend this class and override
methods to perform event driven parsing. When this is done, the parse methods will return null.
| Modifier and Type | Field and Description |
|---|---|
| private static final byte[] | |
| private static final byte[] | |
| private static final short[] | |
| private static final byte[] | |
| private static final short[] | |
| private static final byte[] | |
| private static final byte[] | |
| private static final byte[] | |
| private static final char[] | |
| private static final byte[] | |
| private JsonValue | |
| private final Array | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| private JsonValue | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| protected void | |
| private static byte[] | |
| private static byte[] | |
| private static short[] | |
| private static byte[] | |
| private static short[] | |
| private static byte[] | |
| private static byte[] | |
| private static byte[] | |
| private static char[] | |
| private static byte[] | |
| public boolean | |
| protected void | |
| protected void | |
| public JsonValue | |
| public JsonValue | |
| public JsonValue | |
| public JsonValue | |
| public JsonValue | |
| protected void | |
| protected void | |
| protected void | |
| public void | |
| protected void | |
| protected String |
| _json_actions | back to summary |
|---|---|
| private static final byte[] _json_actions | |
| _json_eof_actions | back to summary |
|---|---|
| private static final byte[] _json_eof_actions | |
| _json_index_offsets | back to summary |
|---|---|
| private static final short[] _json_index_offsets | |
| _json_indicies | back to summary |
|---|---|
| private static final byte[] _json_indicies | |
| _json_key_offsets | back to summary |
|---|---|
| private static final short[] _json_key_offsets | |
| _json_range_lengths | back to summary |
|---|---|
| private static final byte[] _json_range_lengths | |
| _json_single_lengths | back to summary |
|---|---|
| private static final byte[] _json_single_lengths | |
| _json_trans_actions | back to summary |
|---|---|
| private static final byte[] _json_trans_actions | |
| _json_trans_keys | back to summary |
|---|---|
| private static final char[] _json_trans_keys | |
| _json_trans_targs | back to summary |
|---|---|
| private static final byte[] _json_trans_targs | |
| current | back to summary |
|---|---|
| private JsonValue current | |
| elements | back to summary |
|---|---|
| private final Array<JsonValue> elements | |
| json_en_array | back to summary |
|---|---|
| pack-priv static final int json_en_array | |
| json_en_main | back to summary |
|---|---|
| pack-priv static final int json_en_main | |
| json_en_object | back to summary |
|---|---|
| pack-priv static final int json_en_object | |
| json_error | back to summary |
|---|---|
| pack-priv static final int json_error | |
| json_first_final | back to summary |
|---|---|
| pack-priv static final int json_first_final | |
| json_start | back to summary |
|---|---|
| pack-priv static final int json_start | |
| root | back to summary |
|---|---|
| private JsonValue root | |
| stop | back to summary |
|---|---|
| private boolean stop | |
| JsonReader | back to summary |
|---|---|
| public JsonReader() | |
| addChild | back to summary |
|---|---|
| private void addChild(String name, JsonValue child) | |
| bool | back to summary |
|---|---|
| protected void bool(String name, boolean value) Called when a boolean value is encountered in the JSON. | |
| init__json_actions_0 | back to summary |
|---|---|
| private static byte[] init__json_actions_0() | |
| init__json_eof_actions_0 | back to summary |
|---|---|
| private static byte[] init__json_eof_actions_0() | |
| init__json_index_offsets_0 | back to summary |
|---|---|
| private static short[] init__json_index_offsets_0() | |
| init__json_indicies_0 | back to summary |
|---|---|
| private static byte[] init__json_indicies_0() | |
| init__json_key_offsets_0 | back to summary |
|---|---|
| private static short[] init__json_key_offsets_0() | |
| init__json_range_lengths_0 | back to summary |
|---|---|
| private static byte[] init__json_range_lengths_0() | |
| init__json_single_lengths_0 | back to summary |
|---|---|
| private static byte[] init__json_single_lengths_0() | |
| init__json_trans_actions_0 | back to summary |
|---|---|
| private static byte[] init__json_trans_actions_0() | |
| init__json_trans_keys_0 | back to summary |
|---|---|
| private static char[] init__json_trans_keys_0() | |
| init__json_trans_targs_0 | back to summary |
|---|---|
| private static byte[] init__json_trans_targs_0() | |
| isStopped | back to summary |
|---|---|
| public boolean isStopped() | |
| number | back to summary |
|---|---|
| protected void number(String name, double value, String stringValue) Called when a double value is encountered in the JSON. | |
| number | back to summary |
|---|---|
| protected void number(String name, long value, String stringValue) Called when a long value is encountered in the JSON. | |
| parse | back to summary |
|---|---|
| public JsonValue parse(String json) | |
| parse | back to summary |
|---|---|
| public JsonValue parse(Reader reader) | |
| parse | back to summary |
|---|---|
| public JsonValue parse(InputStream input) Implements com. | |
| parse | back to summary |
|---|---|
| public JsonValue parse(FileHandle file) Implements com. | |
| parse | back to summary |
|---|---|
| public JsonValue parse(char[] data, int offset, int length) | |
| pop | back to summary |
|---|---|
| protected void pop() Called when the end of an object or array is encountered in the JSON. | |
| startArray | back to summary |
|---|---|
| protected void startArray(String name) Called when an array is encountered in the JSON. | |
| startObject | back to summary |
|---|---|
| protected void startObject(String name) Called when an object is encountered in the JSON. | |
| stop | back to summary |
|---|---|
| public void stop() Causes parsing to stop after the current or next object, array, or value. | |
| string | back to summary |
|---|---|
| protected void string(String name, String value) Called when a string or null value is encountered in the JSON. | |
| unescape | back to summary |
|---|---|
| protected String unescape(String value) Called to unescape string values. The default implementation does standard JSON unescaping. | |