|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.codehaus.jackson.JsonFactory
org.codehaus.jackson.map.MappingJsonFactory
public class MappingJsonFactory
Sub-class of JsonFactory that will create a proper
ObjectCodec to allow seamless conversions between
Json content and Java objects (POJOs).
The only addition to regular JsonFactory currently
is that ObjectMapper is constructed and passed as
the codec to use.
| Field Summary |
|---|
| Fields inherited from class org.codehaus.jackson.JsonFactory |
|---|
_objectCodec, _rootByteSymbols, _rootCharSymbols |
| Constructor Summary | |
|---|---|
MappingJsonFactory()
|
|
MappingJsonFactory(ObjectMapper mapper)
|
|
| Method Summary | |
|---|---|
ObjectMapper |
getCodec()
We'll override the method to return more specific type; co-variance helps here |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MappingJsonFactory()
public MappingJsonFactory(ObjectMapper mapper)
| Method Detail |
|---|
public final ObjectMapper getCodec()
getCodec in class JsonFactory
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||