To deserialised and serialised enum using jackson, you can use: jsoncreator to deserialised and…

To deserialised and serialised enum using jackson, you can use: jsoncreator to deserialised and…


Play all audios:

Loading...

To deserialised and serialised enum using jackson, you can use: JsonCreator to deserialised and JsonValue to serialised. If you have a request that look like this: {"enum1": 


"value1"} This will result to a Request object where enum1 set to Value1. If you also serialised Request object where enum1 value is Value2 it will be output json:


{"enum1": "value2"}