com.fasterxml.jackson.databind.deser.impl

Class ObjectIdReader

    • Field Detail

      • _idType

        protected final JavaType _idType
      • generator

        public final com.fasterxml.jackson.annotation.ObjectIdGenerator<?> generator
        Blueprint generator instance: actual instance will be fetched from SerializerProvider using this as the key.
      • resolver

        public final com.fasterxml.jackson.annotation.ObjectIdResolver resolver
      • _deserializer

        protected final JsonDeserializer<Object> _deserializer
        Deserializer used for deserializing id values.
    • Method Detail

      • getIdType

        public JavaType getIdType()
      • maySerializeAsObject

        public boolean maySerializeAsObject()
        Convenience method, equivalent to calling: readerInstance.generator.maySerializeAsObject(); and used to determine whether Object Ids handled by the underlying generator may be in form of (JSON) Objects. Used for optimizing handling in cases where method returns false.
        Since:
        2.5
      • isValidReferencePropertyName

        public boolean isValidReferencePropertyName(String name,
                                                    JsonParser parser)
        Convenience method, equivalent to calling: readerInstance.generator.isValidReferencePropertyName(name, parser); and used to determine whether Object Ids handled by the underlying generator may be in form of (JSON) Objects. Used for optimizing handling in cases where method returns false.
        Since:
        2.5

Copyright © 2008–2025 FasterXML. All rights reserved.