程序包 | 说明 |
---|---|
org.codehaus.jackson.map |
Contains basic mapper (conversion) functionality that
allows for converting between regular streaming json content and
Java objects (beans or Tree Model: support for both is via
ObjectMapper class, as well
as convenience methods included in
JsonParser
Object mapper will convert Json content to ant from
basic Java wrapper types (Integer, Boolean, Double),
Collection types (List, Map), Java Beans,
Strings and nulls. |
限定符和类型 | 字段和说明 |
---|---|
protected static MappingIterator<?> |
MappingIterator.EMPTY_ITERATOR |
限定符和类型 | 方法和说明 |
---|---|
protected static <T> MappingIterator<T> |
MappingIterator.emptyIterator() |
<T> MappingIterator<T> |
ObjectReader.readValues(byte[] src)
Since 1.9.3
|
<T> MappingIterator<T> |
ObjectReader.readValues(byte[] src,
int offset,
int length)
Method for reading sequence of Objects from parser stream.
|
<T> MappingIterator<T> |
ObjectReader.readValues(File src)
Method for reading sequence of Objects from parser stream.
|
<T> MappingIterator<T> |
ObjectReader.readValues(InputStream src)
Method for reading sequence of Objects from parser stream.
|
<T> MappingIterator<T> |
ObjectReader.readValues(JsonParser jp)
Method for reading sequence of Objects from parser stream.
|
<T> MappingIterator<T> |
ObjectMapper.readValues(JsonParser jp,
Class<T> valueType)
Method for reading sequence of Objects from parser stream.
|
<T> MappingIterator<T> |
ObjectMapper.readValues(JsonParser jp,
JavaType valueType)
Method for reading sequence of Objects from parser stream.
|
<T> MappingIterator<T> |
ObjectMapper.readValues(JsonParser jp,
TypeReference<?> valueTypeRef)
Method for reading sequence of Objects from parser stream.
|
<T> MappingIterator<T> |
ObjectReader.readValues(Reader src)
Method for reading sequence of Objects from parser stream.
|
<T> MappingIterator<T> |
ObjectReader.readValues(String json)
Method for reading sequence of Objects from parser stream.
|
<T> MappingIterator<T> |
ObjectReader.readValues(URL src)
Method for reading sequence of Objects from parser stream.
|