public class JsonReducedValueParser extends Object
Constructor and Description |
---|
JsonReducedValueParser() |
Modifier and Type | Method and Description |
---|---|
JsonValue |
parse(Reader reader)
Reads a single value from the given reader and parses it as
JsonValue.
|
JsonValue |
parse(Reader reader,
int buffersize)
Reads a single value from the given reader and parses it as JsonValue.
|
public JsonValue parse(Reader reader) throws IOException
reader
- the reader to read the input fromIOException
- if an I/O error occurs in the readerParseException
- if the input is not valid JSONpublic JsonValue parse(Reader reader, int buffersize) throws IOException
reader
- the reader to read the input frombuffersize
- the size of the input buffer in charsIOException
- if an I/O error occurs in the readerParseException
- if the input is not valid JSONCopyright © 2021 Hazelcast, Inc.. All Rights Reserved.