Package | Description |
---|---|
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 |
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.util |
Utility classes used by Jackson Core functionality.
|
Modifier and Type | Method | Description |
---|---|---|
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. |
Modifier and Type | Method | Description |
---|---|---|
void |
Utf8Generator.writeFieldName(SerializedString name) |
|
void |
WriterBasedGenerator.writeFieldName(SerializedString name) |
Modifier and Type | Method | Description |
---|---|---|
abstract SerializedString |
DeserializerProvider.findExpectedRootName(DeserializationConfig config,
JavaType type) |
Method that can be used to try find expected root name for given type
|
Modifier and Type | Method | Description |
---|---|---|
SerializedString |
StdDeserializerProvider.findExpectedRootName(DeserializationConfig config,
JavaType type) |
Modifier and Type | Field | Description |
---|---|---|
protected SerializedString |
BeanPropertyWriter._name |
Logical name of the property; will be used as the field name
under which value for the property is written.
|
Modifier and Type | Method | Description |
---|---|---|
SerializedString |
BeanPropertyWriter.getSerializedName() |
Constructor | Description |
---|---|
BeanPropertyWriter(AnnotatedMember member,
Annotations contextAnnotations,
SerializedString name,
JavaType declaredType,
JsonSerializer<java.lang.Object> ser,
TypeSerializer typeSer,
JavaType serType,
java.lang.reflect.Method m,
java.lang.reflect.Field f,
boolean suppressNulls,
java.lang.Object suppressableValue) |
Modifier and Type | Field | Description |
---|---|---|
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.
|
Modifier and Type | Method | Description |
---|---|---|
SerializedString |
RootNameLookup.findRootName(java.lang.Class<?> rootType,
MapperConfig<?> config) |
|
SerializedString |
RootNameLookup.findRootName(JavaType rootType,
MapperConfig<?> config) |
|
SerializedString |
EnumValues.serializedValueFor(java.lang.Enum<?> key) |
Modifier and Type | Method | Description |
---|---|---|
java.util.Collection<SerializedString> |
EnumValues.values() |
Modifier and Type | Method | Description |
---|---|---|
void |
JsonGeneratorDelegate.writeFieldName(SerializedString name) |
|
void |
TokenBuffer.writeFieldName(SerializedString name) |