| Modifier and Type | Class and Description |
|---|---|
static interface |
JsonParser.Stream
A parsed stream of MessagePack
Values. |
| Constructor and Description |
|---|
JsonParser()
Creates a
JsonParser instance. |
| Modifier and Type | Method and Description |
|---|---|
JsonParser.Stream |
open(InputStream in)
Parses the stringified JSON
InputStream to JsonParser.Stream. |
JsonParser.Stream |
openWithOffsetInJsonPointer(InputStream in,
String offsetInJsonPointer)
Parses the stringified JSON
InputStream with the specified offset to JsonParser.Stream. |
Value |
parse(String json)
|
Value |
parseWithOffsetInJsonPointer(String json,
String offsetInJsonPointer)
|
public JsonParser()
JsonParser instance.public JsonParser.Stream open(InputStream in) throws IOException
InputStream to JsonParser.Stream.in - stringified JSON InputStream to parseValueIOExceptionpublic JsonParser.Stream openWithOffsetInJsonPointer(InputStream in, String offsetInJsonPointer) throws IOException
InputStream with the specified offset to JsonParser.Stream.in - stringified JSON InputStream to parseoffsetInJsonPointer - offset in JSON Pointer to parseValueIOExceptionpublic Value parse(String json)
json - stringified JSON to parseValue