Package overit.geocall.model.format
Class JsonFormat
java.lang.Object
overit.geocall.model.format.JsonFormat
- All Implemented Interfaces:
Serializable,DocumentFormat
- Direct Known Subclasses:
XmlFormat
JasonFormat is a mapper for json
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the name of the classvoidinitMapper(ObjectMapper om, boolean nullValues) newMapper(boolean nullValues) Creates a new mapperMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface overit.geocall.model.format.DocumentFormat
newMapper
-
Constructor Details
-
JsonFormat
public JsonFormat()
-
-
Method Details
-
newMapper
Description copied from interface:DocumentFormatCreates a new mapper- Specified by:
newMapperin interfaceDocumentFormat- Parameters:
nullValues- boolean value indicatind if null value should be kept- Returns:
- A new
ObjectMapper
-
initMapper
-
getRootName4
Description copied from interface:DocumentFormatReturns the name of the class- Specified by:
getRootName4in interfaceDocumentFormat- Parameters:
o- The object to get the root name- Returns:
- The name of the class
-