SpecialFieldsMap can have methods
that define the value being encoded/decoded by their return type.
static class ValueClass {}
static class SomeOtherClass<V extends ValueClass> extends ArrayList<V> implements List<V> {}
static class SomeSpecializedList extends SomeOtherClass<ValueClass> {}
Or Filter{
filters=[
Filter{fieldName='_t', value=Square},
Filter{fieldName='_discriminatorKey', value=Circle}
]
}
ClassResolverBasicReflectionCodec is not sufficientFieldMapping annotationDocumentCodecCodecProvider was not designed to accept Type as parameter
This TypeCodecProvider can be used to register Codecs for any given Type
Register your TypeCodecProvider when building PojoCodecProvider.Builder.register(TypeCodecProvider...)Copyright © 2018 BILD GmbH & Co. KG. All rights reserved.