Hi If I check the documentation for the keyUsing annotation, it states that it is for methods, fields and constructors. [1] But the documentation at github states that it is for (method, field). [2] Is it possible to set @JsonDeserialize(keyUsing = classOf[SomeKeyDeserializer]) on a constructor, if so what params would constructor take. Is there any documentation on how to use the keyUsing annotation on a method or constructor?
Is there a way from a reflect.Method obj (method is annotated with JsonDeserialize) to get the deserializers from that method object using jackson, without creating the deserializers manually? I would like to be able to get the deserializer for a reflected method in order to solve a Map[] deserialization problem, where I have annotated a method with the JsonDeserialize.keyUsing. Reasons behind are some what difficult to explain. Best regards //Erik 1 - https://fasterxml.github.io/jackson-databind/javadoc/2.3.0/com/fasterxml/jackson/databind/annotation/JsonDeserialize.html#keyUsing() 2 - https://github.com/FasterXML/jackson-databind/wiki/Databind-annotations#user-content-deserialization-reading-json -- You received this message because you are subscribed to the Google Groups "jackson-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jackson-user/9a512550-56fc-4b24-8bc7-4be327e2d626%40googlegroups.com.
