POJODefinition) to build general POJO readers
(deserializers) and writers (serializers).
Note that most of the usage is via ValueReaderLocator and
ValueWriterLocator
| Modifier and Type | Field and Description |
|---|---|
| private static final BeanPropertyIntrospector | |
| protected static final POJODefinition. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static <P> P | |
| private static Constructor | |
| private static void | _introspect(Class<?> currType, Map<String, POJODefinition.
|
| private POJODefinition | |
| private static POJODefinition. | |
| public static void | addNonRecordConstructors(Class<?> beanType, BeanConstructors constructors)
Adds all |
| private static String | |
| public static <P> Constructor | |
| public static BeanPropertyIntrospector | |
| protected static boolean | isGroovyMetaClass(Class<?> clazz)
Helper method to detect Groovy's problematic metadata accessor type. |
| public POJODefinition | |
| public POJODefinition |
| INSTANCE | back to summary |
|---|---|
| private static final BeanPropertyIntrospector INSTANCE | |
| NO_PROPS | back to summary |
|---|---|
| protected static final POJODefinition. | |
| BeanPropertyIntrospector | back to summary |
|---|---|
| public BeanPropertyIntrospector() | |
| _addPropertiesFromMap | back to summary |
|---|---|
| private static <P> P _addPropertiesFromMap(Map<String, P> props, String name, Function<String, P> propBuilder) | |
| _getCanonicalRecordConstructor | back to summary |
|---|---|
| private static Constructor | |
| _introspect | back to summary |
|---|---|
| private static void _introspect(Class<?> currType, Map<String, POJODefinition. | |
| _introspectDefinition | back to summary |
|---|---|
| private POJODefinition _introspectDefinition(Class<?> beanType, boolean forSerialization, int features, boolean isRecord) | |
| _propFrom | back to summary |
|---|---|
| private static POJODefinition. | |
| addNonRecordConstructors | back to summary |
|---|---|
| public static void addNonRecordConstructors(Class<?> beanType, BeanConstructors constructors) Adds all | |
| decap | back to summary |
|---|---|
| private static String decap(String name) | |
| derivePropertiesFromRecordConstructor | back to summary |
|---|---|
| public static <P> Constructor Gets canonical constructor of given types and adds properties to the map, derived from constructor parameters. | |
| instance | back to summary |
|---|---|
| public static BeanPropertyIntrospector instance() | |
| isGroovyMetaClass | back to summary |
|---|---|
| protected static boolean isGroovyMetaClass(Class<?> clazz) Helper method to detect Groovy's problematic metadata accessor type. Note Groovy MetaClass have cyclic reference, and hence the class containing it should not be serialized without either removing that reference, or skipping over such references. | |
| pojoDefinitionForDeserialization | back to summary |
|---|---|
| public POJODefinition pojoDefinitionForDeserialization(JSONReader r, Class<?> pojoType) | |
| pojoDefinitionForSerialization | back to summary |
|---|---|
| public POJODefinition pojoDefinitionForSerialization(JSONWriter w, Class<?> pojoType) | |