public class UBJsonReader extends Object implements BaseJsonReader
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 |
---|---|
boolean |
oldFormat |
Constructor and Description |
---|
UBJsonReader() |
Modifier and Type | Method and Description |
---|---|
JsonValue |
parse(DataInputStream din) |
JsonValue |
parse(FileHandle file) |
JsonValue |
parse(InputStream input)
Parses the UBJSON from the given stream.
|
public JsonValue parse(InputStream input)
parse
in interface BaseJsonReader
public JsonValue parse(FileHandle file)
parse
in interface BaseJsonReader
public JsonValue parse(DataInputStream din) throws IOException
IOException
Copyright © 2017. All rights reserved.