Module tools.jackson.databind
Package tools.jackson.databind.ser.jdk
Class ObjectArraySerializer.TypeIdCheck
java.lang.Object
tools.jackson.databind.ser.jdk.ObjectArraySerializer.TypeIdCheck
- Enclosing class:
- ObjectArraySerializer
One-entry cache for checking whether the runtime array element type
requires a type id. In practice elements of a typed array are almost
always the same type, so this avoids repeated
findTypeSerializer
lookups.
See [databind#3194] for details.
- Since:
- 3.1
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanneedsTypeId(SerializationContext ctxt, Class<?> runtimeType)
-
Constructor Details
-
TypeIdCheck
protected TypeIdCheck()
-
-
Method Details
-
needsTypeId
-