|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use JsonFactory | |
|---|---|
| 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.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 |
| Uses of JsonFactory in org.codehaus.jackson |
|---|
| Methods in org.codehaus.jackson that return JsonFactory | |
|---|---|
JsonFactory |
JsonFactory.configure(JsonGenerator.Feature f,
boolean state)
Method for enabling or disabling specified generator feature (check JsonGenerator.Feature for list of features) |
JsonFactory |
JsonFactory.configure(JsonParser.Feature f,
boolean state)
Method for enabling or disabling specified parser feature (check JsonParser.Feature for list of features) |
JsonFactory |
JsonFactory.disable(JsonGenerator.Feature f)
Method for disabling specified generator feature (check JsonGenerator.Feature for list of features) |
JsonFactory |
JsonFactory.disable(JsonParser.Feature f)
Method for disabling specified parser features (check JsonParser.Feature for list of features) |
JsonFactory |
JsonFactory.enable(JsonGenerator.Feature f)
Method for enabling specified generator features (check JsonGenerator.Feature for list of features) |
JsonFactory |
JsonFactory.enable(JsonParser.Feature f)
Method for enabling specified parser feature (check JsonParser.Feature for list of features) |
JsonFactory |
JsonFactory.setCodec(ObjectCodec oc)
|
| Uses of JsonFactory in org.codehaus.jackson.map |
|---|
| Subclasses of JsonFactory in org.codehaus.jackson.map | |
|---|---|
class |
MappingJsonFactory
Sub-class of JsonFactory that will create a proper
ObjectCodec to allow seamless conversions between
Json content and Java objects (POJOs). |
| Fields in org.codehaus.jackson.map declared as JsonFactory | |
|---|---|
protected JsonFactory |
ObjectWriter._jsonFactory
Factory used for constructing JsonGenerators |
protected JsonFactory |
ObjectMapper._jsonFactory
Factory used to create JsonParser and JsonGenerator
instances as necessary. |
| Methods in org.codehaus.jackson.map that return JsonFactory | |
|---|---|
JsonFactory |
TreeMapper.getJsonFactory()
Deprecated. Method that can be used to get hold of Json factory that this mapper uses if it needs to construct Json parsers and/or generators. |
JsonFactory |
ObjectMapper.getJsonFactory()
Method that can be used to get hold of JsonFactory that this
mapper uses if it needs to construct JsonParsers
and/or JsonGenerators. |
| Constructors in org.codehaus.jackson.map with parameters of type JsonFactory | |
|---|---|
ObjectMapper(JsonFactory jf)
Construct mapper that uses specified JsonFactory
for constructing necessary JsonParsers and/or
JsonGenerators. |
|
ObjectMapper(JsonFactory jf,
SerializerProvider sp,
DeserializerProvider dp)
|
|
ObjectMapper(JsonFactory jf,
SerializerProvider sp,
DeserializerProvider dp,
SerializationConfig sconfig,
DeserializationConfig dconfig)
|
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||