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 |
|---|---|
| public boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public JsonValue | parse(InputStream input)
Implements com. Parses the UBJSON from the given stream. |
| public JsonValue | |
| public JsonValue | |
| protected JsonValue | |
| protected JsonValue | |
| protected JsonValue | |
| protected JsonValue | |
| protected long | |
| protected long | parseSize(final DataInputStream din, final byte type, final boolean useIntOnError, final long defaultValue)
|
| protected String | |
| protected String | |
| protected String | |
| protected short | |
| protected long | |
| protected int |
| oldFormat | back to summary |
|---|---|
| public boolean oldFormat | |
| UBJsonReader | back to summary |
|---|---|
| public UBJsonReader() | |
| parse | back to summary |
|---|---|
| public JsonValue parse(InputStream input) Implements com. Parses the UBJSON from the given stream.
| |
| parse | back to summary |
|---|---|
| public JsonValue parse(FileHandle file) Implements com.
| |
| parse | back to summary |
|---|---|
| public JsonValue parse(final DataInputStream din) throws IOException | |
| parse | back to summary |
|---|---|
| protected JsonValue parse(final DataInputStream din, final byte type) throws IOException | |
| parseArray | back to summary |
|---|---|
| protected JsonValue parseArray(final DataInputStream din) throws IOException | |
| parseData | back to summary |
|---|---|
| protected JsonValue parseData(final DataInputStream din, final byte blockType) throws IOException | |
| parseObject | back to summary |
|---|---|
| protected JsonValue parseObject(final DataInputStream din) throws IOException | |
| parseSize | back to summary |
|---|---|
| protected long parseSize(final DataInputStream din, final boolean useIntOnError, final long defaultValue) throws IOException | |
| parseSize | back to summary |
|---|---|
| protected long parseSize(final DataInputStream din, final byte type, final boolean useIntOnError, final long defaultValue) throws IOException | |
| parseString | back to summary |
|---|---|
| protected String parseString(final DataInputStream din, final byte type) throws IOException | |
| parseString | back to summary |
|---|---|
| protected String parseString(final DataInputStream din, final boolean sOptional, final byte type) throws IOException | |
| readString | back to summary |
|---|---|
| protected String readString(final DataInputStream din, final long size) throws IOException | |
| readUChar | back to summary |
|---|---|
| protected short readUChar(final DataInputStream din) throws IOException | |
| readUInt | back to summary |
|---|---|
| protected long readUInt(final DataInputStream din) throws IOException | |
| readUShort | back to summary |
|---|---|
| protected int readUShort(final DataInputStream din) throws IOException | |