Value
is deprecated.
Use JsonValueParser
for JsonValue
instead.@Deprecated public class JsonParser extends Object
Value
.Modifier and Type | Class and Description |
---|---|
static interface |
JsonParser.Stream
Deprecated.
A parsed stream of MessagePack
Value s. |
Constructor and Description |
---|
JsonParser()
Deprecated.
Creates a
JsonParser instance. |
Modifier and Type | Method and Description |
---|---|
JsonParser.Stream |
open(InputStream in)
Deprecated.
Parses the stringified JSON
InputStream to JsonParser.Stream . |
JsonParser.Stream |
openWithOffsetInJsonPointer(InputStream in,
String offsetInJsonPointer)
Deprecated.
Parses the stringified JSON
InputStream with the specified offset to JsonParser.Stream . |
Value |
parse(String json)
Deprecated.
|
Value |
parseWithOffsetInJsonPointer(String json,
String offsetInJsonPointer)
Deprecated.
|
public JsonParser()
JsonParser
instance.public JsonParser.Stream open(InputStream in) throws IOException
InputStream
to JsonParser.Stream
.in
- stringified JSON InputStream
to parseValue
IOException
public 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 parseValue
IOException
public Value parse(String json)
json
- stringified JSON to parseValue