public class JsonParserDelegateImpl
extends org.embulk.spi.json.JsonParserDelegate
Value.| Modifier and Type | Class and Description |
|---|---|
static interface |
JsonParserDelegateImpl.Stream
A parsed stream of MessagePack
Values. |
| Constructor and Description |
|---|
JsonParserDelegateImpl()
Creates a
JsonParserDelegateImpl instance. |
| Modifier and Type | Method and Description |
|---|---|
JsonParserDelegateImpl.Stream |
open(InputStream in)
Parses the stringified JSON
InputStream to JsonParserDelegateImpl.Stream. |
JsonParserDelegateImpl.Stream |
openWithOffsetInJsonPointer(InputStream in,
String offsetInJsonPointer)
Parses the stringified JSON
InputStream with the specified offset to JsonParserDelegateImpl.Stream. |
org.msgpack.value.Value |
parse(String json)
Parses the stringified JSON
String to Value. |
org.msgpack.value.Value |
parseWithOffsetInJsonPointer(String json,
String offsetInJsonPointer)
Parses the stringified JSON
String with the specified offset to Value. |
public JsonParserDelegateImpl()
JsonParserDelegateImpl instance.public JsonParserDelegateImpl.Stream open(InputStream in) throws IOException
InputStream to JsonParserDelegateImpl.Stream.open in class org.embulk.spi.json.JsonParserDelegatein - stringified JSON InputStream to parseValueIOExceptionpublic JsonParserDelegateImpl.Stream openWithOffsetInJsonPointer(InputStream in, String offsetInJsonPointer) throws IOException
InputStream with the specified offset to JsonParserDelegateImpl.Stream.openWithOffsetInJsonPointer in class org.embulk.spi.json.JsonParserDelegatein - stringified JSON InputStream to parseoffsetInJsonPointer - offset in JSON Pointer to parseValueIOExceptionpublic org.msgpack.value.Value parse(String json)
String to Value.parse in class org.embulk.spi.json.JsonParserDelegatejson - stringified JSON to parseValuepublic org.msgpack.value.Value parseWithOffsetInJsonPointer(String json, String offsetInJsonPointer)
String with the specified offset to Value.parseWithOffsetInJsonPointer in class org.embulk.spi.json.JsonParserDelegatejson - stringified JSON to parseoffsetInJsonPointer - offset in JSON Pointer to parseValue