Class ObjectReaderImplField

java.lang.Object
com.alibaba.fastjson2.reader.ObjectReaderImplField
All Implemented Interfaces:
ObjectReader

public class ObjectReaderImplField extends Object implements ObjectReader
  • Constructor Details

    • ObjectReaderImplField

      public ObjectReaderImplField()
  • Method Details

    • readJSONBObject

      public Object readJSONBObject(JSONReader jsonReader, Type fieldType, Object fieldName, long features)
      Description copied from interface: ObjectReader
      Reads an object from JSONB format.
      Specified by:
      readJSONBObject in interface ObjectReader
      Parameters:
      jsonReader - the JSONReader to use for parsing
      fieldType - the type of the field being read
      fieldName - the name of the field being read
      features - the features to use
      Returns:
      the deserialized object
    • readArrayMappingJSONBObject

      public Object readArrayMappingJSONBObject(JSONReader jsonReader, Type fieldType, Object fieldName, long features)
      Description copied from interface: ObjectReader
      Reads an object from JSONB format with array mapping.
      Specified by:
      readArrayMappingJSONBObject in interface ObjectReader
      Parameters:
      jsonReader - the JSONReader to use for parsing
      fieldType - the type of the field being read
      fieldName - the name of the field being read
      features - the features to use
      Returns:
      the deserialized object
    • readArrayMappingObject

      public Object readArrayMappingObject(JSONReader jsonReader, Type fieldType, Object fieldName, long features)
      Description copied from interface: ObjectReader
      Reads an object from JSON format with array mapping.
      Specified by:
      readArrayMappingObject in interface ObjectReader
      Parameters:
      jsonReader - the JSONReader to use for parsing
      fieldType - the type of the field being read
      fieldName - the name of the field being read
      features - the features to use
      Returns:
      the deserialized object
    • readObject

      public Object readObject(JSONReader jsonReader, Type fieldType, Object fieldName, long features)
      Description copied from interface: ObjectReader
      Reads an object from the specified JSONReader with the given field type, field name, and features.
      Specified by:
      readObject in interface ObjectReader
      Parameters:
      jsonReader - the JSONReader to use for parsing
      fieldType - the type of the field being read
      fieldName - the name of the field being read
      features - the features to use
      Returns:
      the deserialized object