java.lang.Object
edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind.deser.impl.ObjectIdReader
All Implemented Interfaces:
Serializable

public class ObjectIdReader extends Object implements Serializable
Object that knows how to deserialize Object Ids.
See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • construct

      public static ObjectIdReader construct(JavaType idType, PropertyName propName, ObjectIdGenerator<?> generator, JsonDeserializer<?> deser, SettableBeanProperty idProp, ObjectIdResolver resolver)
      Factory method called by BeanSerializerBase with the initial information based on standard settings for the type for which serializer is being built.
    • getDeserializer

      public JsonDeserializer<Object> getDeserializer()
    • 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
    • readObjectReference

      public Object readObjectReference(JsonParser jp, DeserializationContext ctxt) throws IOException
      Method called to read value that is expected to be an Object Reference (that is, value of an Object Id used to refer to another object).
      Throws:
      IOException
      Since:
      2.3