jsonb-api icon indicating copy to clipboard operation
jsonb-api copied to clipboard

Support for complex (non-String) JSON keys

Open gcameo opened this issue 7 years ago • 1 comments

At the moment, MapDeserializer throws an error if the key for the Map is not a String. Can we add a feature to allow the JSONConfig to have a custom deserializer for the Key, like in Jackson? Or Can we extend the Deserializer framework to allow registering custom Deserializers for a Map? At the moment, Deserializers can be registered for other datatypes through Adapters but not for a Map.

gcameo avatar Nov 14 '18 09:11 gcameo

don't think it is forbidden in the spec to register JSON-B components, can it be a yasson error?

rmannibucau avatar Sep 12 '22 10:09 rmannibucau