Package com.alibaba.fastjson2.reader
Class ObjectReaderImplInstant
- java.lang.Object
-
- com.alibaba.fastjson2.codec.DateTimeCodec
-
- com.alibaba.fastjson2.reader.ObjectReaderImplInstant
-
- All Implemented Interfaces:
ObjectReader
public final class ObjectReaderImplInstant extends DateTimeCodec implements ObjectReader
-
-
Field Summary
Fields Modifier and Type Field Description static ObjectReaderImplInstantINSTANCE-
Fields inherited from class com.alibaba.fastjson2.codec.DateTimeCodec
format, formatHasDay, formatHasHour, formatISO8601, formatMillis, formatUnixTime, locale, useSimpleDateFormat, useSimpleFormatter, yyyyMMdd10, yyyyMMdd8, yyyyMMddhhmm16, yyyyMMddhhmmss14, yyyyMMddhhmmss19
-
Fields inherited from interface com.alibaba.fastjson2.reader.ObjectReader
HASH_TYPE, VALUE_NAME
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectcreateInstance(Map map, long features)ClassgetObjectClass()static ObjectReaderImplInstantof(String format, Locale locale)ObjectreadJSONBObject(JSONReader jsonReader, Type fieldType, Object fieldName, long features)ObjectreadObject(JSONReader jsonReader, Type fieldType, Object fieldName, long features)-
Methods inherited from class com.alibaba.fastjson2.codec.DateTimeCodec
getDateFormatter, getDateFormatter
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.alibaba.fastjson2.reader.ObjectReader
accept, acceptExtra, acceptExtra, autoType, autoType, createInstance, createInstance, createInstance, createInstance, createInstance, createInstance, createInstanceNoneDefaultConstructor, getBuildFunction, getFeatures, getFieldReader, getFieldReader, getFieldReaderLCase, getTypeKey, getTypeKeyHash, readArrayMappingJSONBObject, readArrayMappingObject, readObject, readObject, readObject, setFieldValue, setFieldValue, setFieldValue
-
-
-
-
Field Detail
-
INSTANCE
public static final ObjectReaderImplInstant INSTANCE
-
-
Method Detail
-
of
public static ObjectReaderImplInstant of(String format, Locale locale)
-
getObjectClass
public Class getObjectClass()
- Specified by:
getObjectClassin interfaceObjectReader
-
createInstance
public Object createInstance(Map map, long features)
- Specified by:
createInstancein interfaceObjectReader- Returns:
ObjectReader
-
readJSONBObject
public Object readJSONBObject(JSONReader jsonReader, Type fieldType, Object fieldName, long features)
- Specified by:
readJSONBObjectin interfaceObjectReader- Returns:
ObjectReader
-
readObject
public Object readObject(JSONReader jsonReader, Type fieldType, Object fieldName, long features)
- Specified by:
readObjectin interfaceObjectReader- Returns:
ObjectReader
-
-