程序包 | 说明 |
---|---|
org.codehaus.jackson |
Main public API classes of the core streaming JSON
processor: most importantly
JsonFactory
used for constructing
JSON parser (JsonParser )
and generator
(JsonParser )
instances. |
org.codehaus.jackson.impl |
Parser and generator implementation classes that Jackson
defines and uses.
|
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. |
org.codehaus.jackson.map.deser |
Contains implementation classes of deserialization part of
data binding.
|
org.codehaus.jackson.map.ser |
Contains implementation classes of serialization part of
data binding.
|
org.codehaus.jackson.map.util |
Utility classes for Mapper package.
|
org.codehaus.jackson.smile |
Package that contains experimental implementation of
"Binary-Encoded JSON-Like" data format handlers (parser,
generator, factory produce both, supporting constants).
|
org.codehaus.jackson.util |
Utility classes used by Jackson Core functionality.
|
限定符和类型 | 方法和说明 |
---|---|
void |
JsonGenerator.writeFieldName(SerializedString name)
Method similar to
JsonGenerator.writeFieldName(String) , main difference
being that it may perform better as some of processing (such as
quoting of certain characters, or encoding into external encoding
if supported by generator) can be done just once and reused for
later calls. |
限定符和类型 | 方法和说明 |
---|---|
void |
WriterBasedGenerator.writeFieldName(SerializedString name) |
void |
Utf8Generator.writeFieldName(SerializedString name) |
限定符和类型 | 方法和说明 |
---|---|
abstract SerializedString |
DeserializerProvider.findExpectedRootName(DeserializationConfig config,
JavaType type)
Method that can be used to try find expected root name for given type
|
限定符和类型 | 方法和说明 |
---|---|
SerializedString |
StdDeserializerProvider.findExpectedRootName(DeserializationConfig config,
JavaType type) |
限定符和类型 | 字段和说明 |
---|---|
protected SerializedString |
BeanPropertyWriter._name
Logical name of the property; will be used as the field name
under which value for the property is written.
|
限定符和类型 | 方法和说明 |
---|---|
SerializedString |
BeanPropertyWriter.getSerializedName() |
构造器和说明 |
---|
BeanPropertyWriter(AnnotatedMember member,
Annotations contextAnnotations,
SerializedString name,
JavaType declaredType,
JsonSerializer<Object> ser,
TypeSerializer typeSer,
JavaType serType,
Method m,
Field f,
boolean suppressNulls,
Object suppressableValue) |
限定符和类型 | 字段和说明 |
---|---|
protected LRUMap<ClassKey,SerializedString> |
RootNameLookup._rootNames
For efficient operation, let's try to minimize number of times we
need to introspect root element name to use.
|
限定符和类型 | 方法和说明 |
---|---|
SerializedString |
RootNameLookup.findRootName(Class<?> rootType,
MapperConfig<?> config) |
SerializedString |
RootNameLookup.findRootName(JavaType rootType,
MapperConfig<?> config) |
SerializedString |
EnumValues.serializedValueFor(Enum<?> key) |
限定符和类型 | 方法和说明 |
---|---|
Collection<SerializedString> |
EnumValues.values() |
限定符和类型 | 方法和说明 |
---|---|
void |
SmileGenerator.writeFieldName(SerializedString name) |
限定符和类型 | 方法和说明 |
---|---|
void |
TokenBuffer.writeFieldName(SerializedString name) |
void |
JsonGeneratorDelegate.writeFieldName(SerializedString name) |