Package org.craftercms.commons.jackson
package org.craftercms.commons.jackson
-
ClassDescriptionExtended
ObjectMapper
that lets you provide your own serializers/deserializers.Utility methods for Jackson.Custom Jackson deserializer forObjectId
s, which deserializes a String as an ObjectId by creating the ObjectId throughObjectId(String)
.Custom Jackson serializer forObjectId
s, which serializes an ObjectId as a String by callingObjectId.toString()
.