com.fasterxml.jackson.databind.ser.impl

Class ObjectIdWriter



  • public final class ObjectIdWriter
    extends Object
    Object that knows how to serialize Object Ids.
    • Field Detail

      • propertyName

        public final SerializedString propertyName
        Name of id property to write, if not null: if null, should only write references, but id property is handled by some other entity.
      • serializer

        public final JsonSerializer<Object> serializer
        Serializer used for serializing id values.
      • alwaysAsId

        public final boolean alwaysAsId
        Marker that indicates what the first reference is to be serialized as full POJO, or as Object Id (other references will always be serialized as Object Id)
        Since:
        2.1

Copyright © 2012-2013 FasterXML. All Rights Reserved.