public abstract class JohnzonJsonParserImpl extends Object implements JohnzonJsonParser
getObject(), getValue(), getArray()
JohnzonJsonParser.JohnzonJsonParserWrapper
Modifier and Type | Field and Description |
---|---|
private boolean |
manualNext |
Constructor and Description |
---|
JohnzonJsonParserImpl() |
Modifier and Type | Method and Description |
---|---|
javax.json.JsonArray |
getArray() |
Stream<javax.json.JsonValue> |
getArrayStream() |
protected abstract BufferStrategy.BufferProvider<char[]> |
getCharArrayProvider() |
javax.json.JsonObject |
getObject() |
Stream<Map.Entry<String,javax.json.JsonValue>> |
getObjectStream() |
javax.json.JsonValue |
getValue() |
Stream<javax.json.JsonValue> |
getValueStream() |
protected abstract javax.json.stream.JsonParser.Event |
internalNext() |
protected abstract boolean |
isInArray() |
protected abstract boolean |
isInObject() |
javax.json.stream.JsonParser.Event |
next() |
void |
skipArray() |
void |
skipObject() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
current, isFitLong, isNotTooLong
protected abstract boolean isInArray()
true
if we are currently inside an arrayprotected abstract boolean isInObject()
true
if we are currently inside an objectprotected abstract BufferStrategy.BufferProvider<char[]> getCharArrayProvider()
public javax.json.stream.JsonParser.Event next()
next
in interface javax.json.stream.JsonParser
protected abstract javax.json.stream.JsonParser.Event internalNext()
public javax.json.JsonObject getObject()
getObject
in interface javax.json.stream.JsonParser
public javax.json.JsonArray getArray()
getArray
in interface javax.json.stream.JsonParser
public javax.json.JsonValue getValue()
getValue
in interface javax.json.stream.JsonParser
public void skipObject()
skipObject
in interface javax.json.stream.JsonParser
public void skipArray()
skipArray
in interface javax.json.stream.JsonParser
public Stream<javax.json.JsonValue> getArrayStream()
getArrayStream
in interface javax.json.stream.JsonParser
public Stream<Map.Entry<String,javax.json.JsonValue>> getObjectStream()
getObjectStream
in interface javax.json.stream.JsonParser
public Stream<javax.json.JsonValue> getValueStream()
getValueStream
in interface javax.json.stream.JsonParser
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.