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 |
BooleanReader, StringReader
Constructor and Description |
---|
JsonArrayReader(JsonReader<? extends T> elementReader,
Collector<T,? extends L> collector) |
Modifier and Type | Method and Description |
---|---|
static <T> JsonArrayReader<T,ArrayList<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) |
expectArrayStart, expectObjectEnd, expectObjectStart, isArrayEnd, nextToken, readBoolean, readField, readFromFile, readFromFile, readFully, readFully, readFully, readFully, readOptional, readUnsignedLong, readUnsignedLongField, skipValue
public final JsonReader<? extends T> elementReader
public JsonArrayReader(JsonReader<? extends T> elementReader, Collector<T,? extends L> collector)
public static <T> JsonArrayReader<T,ArrayList<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, IOException
read
in class JsonReader<L>
JsonReadException
IOException
public static <T,L> L read(JsonReader<? extends T> elementReader, Collector<T,? extends L> collector, com.fasterxml.jackson.core.JsonParser parser) throws JsonReadException, IOException
JsonReadException
IOException
Copyright © 2014. All rights reserved.