Class JsonWriterOdata40
java.lang.Object
de.fraunhofer.iosb.ilt.frostserver.plugin.odata.serialize.JsonWriterOdata40
Enables serialization of entities as JSON.
- Author:
- jab, scf
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic com.fasterxml.jackson.databind.ObjectMapperstatic voidwriteEntity(Writer writer, EntityWrapper entity) static voidwriteEntityCollection(Writer writer, EntitySetResultOdata entityCollection) static voidwriteObject(Writer writer, Object object) static StringwriteObject(Object object)
-
Field Details
-
AT_CONTEXT
- See Also:
-
AT_COUNT
- See Also:
-
AT_ID
- See Also:
-
AT_NAVIGATION_LINK
- See Also:
-
AT_NEXT_LINK
- See Also:
-
-
Method Details
-
getObjectMapper
public static com.fasterxml.jackson.databind.ObjectMapper getObjectMapper() -
writeEntity
- Throws:
IOException
-
writeEntityCollection
public static void writeEntityCollection(Writer writer, EntitySetResultOdata entityCollection) throws IOException - Throws:
IOException
-
writeObject
- Throws:
IOException
-
writeObject
- Throws:
IOException
-