Package org.craftercms.commons.jackson
-
Class Summary Class Description CustomSerializationObjectMapper ExtendedObjectMapper
that lets you provide your own serializers/deserializers.JacksonUtils Utility methods for Jackson.ObjectIdDeserializer Custom Jackson deserializer forObjectId
s, which deserializes a String as an ObjectId by creating the ObjectId throughObjectId(String)
.ObjectIdSerializer Custom Jackson serializer forObjectId
s, which serializes an ObjectId as a String by callingObjectId.toString()
.