You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently there is no way to add custom handlers for reading or writing values; only basic JDK types (basic scalars, java.util.Collections, java.util.Maps, arrays, enums) and Beans are supported. Although we can add some more JDK types, it would be useful to allow custom readers / writers to support:
Custom value types that do not conform to Beans (f.ex serialize as some other JSON value that JSON Object; or use different naming convention)
3rd party types (like Guava collections)
For 2.10 this could be done by adding new abstract -- ReaderWriterProvider -- configurable via JSON, that allows lookups for:
ValueReader for deserialization
a new abstraction for serialization
The text was updated successfully, but these errors were encountered:
Currently there is no way to add custom handlers for reading or writing values; only basic JDK types (basic scalars,
java.util.Collection
s,java.util.Map
s, arrays, enums) and Beans are supported. Although we can add some more JDK types, it would be useful to allow custom readers / writers to support:For 2.10 this could be done by adding new abstract --
ReaderWriterProvider
-- configurable viaJSON
, that allows lookups for:ValueReader
for deserializationThe text was updated successfully, but these errors were encountered: