public class JsonArrayReader<T,L> extends JsonReader<L>
JsonReader.FieldMapping, JsonReader.FileLoadException
Modifier and Type | Field and Description |
---|---|
Collector<T,? extends L> |
collector |
JsonReader<? extends T> |
elementReader |
BinaryReader, BooleanReader, Float32Reader, Float64Reader, Int32Reader, Int64Reader, StringReader, UInt32Reader, UInt64Reader, UnsignedLongReader, VoidReader
Constructor and Description |
---|
JsonArrayReader(JsonReader<? extends T> elementReader,
Collector<T,? extends L> collector) |
Modifier and Type | Method and Description |
---|---|
static <T> JsonArrayReader<T,java.util.List<T>> |
mk(JsonReader<? extends T> elementReader) |
static <T,L> JsonArrayReader<T,L> |
mk(JsonReader<? extends T> elementReader,
Collector<T,? extends L> collector) |
L |
read(com.fasterxml.jackson.core.JsonParser parser) |
static <T,L> L |
read(JsonReader<? extends T> elementReader,
Collector<T,? extends L> collector,
com.fasterxml.jackson.core.JsonParser parser) |
expectArrayEnd, expectArrayStart, expectObjectEnd, expectObjectStart, isArrayEnd, isArrayStart, nextToken, readBoolean, readDouble, readEnum, readField, readFields, readFromFile, readFromFile, readFromTags, readFully, readFully, readFully, readFully, readOptional, readTags, readUnsignedLong, readUnsignedLongField, skipValue, validate
public final JsonReader<? extends T> elementReader
public JsonArrayReader(JsonReader<? extends T> elementReader, Collector<T,? extends L> collector)
public static <T> JsonArrayReader<T,java.util.List<T>> mk(JsonReader<? extends T> elementReader)
public static <T,L> JsonArrayReader<T,L> mk(JsonReader<? extends T> elementReader, Collector<T,? extends L> collector)
public L read(com.fasterxml.jackson.core.JsonParser parser) throws JsonReadException, java.io.IOException
read
in class JsonReader<L>
JsonReadException
java.io.IOException
public static <T,L> L read(JsonReader<? extends T> elementReader, Collector<T,? extends L> collector, com.fasterxml.jackson.core.JsonParser parser) throws JsonReadException, java.io.IOException
JsonReadException
java.io.IOException