Skip to content

Tag: vavr

Serialize and Deserialize Java object having vavr list

I have a Java object with vavr list. When I serialize the object objectwriter.writeValueAsString(currentDossier) and print the values then in the JSON output I see, where remarks is a vavr list field inside the object. Now if I try to deserialize the same value into the object objectMapper.readValue(json, Cus…