How do I create a ObjectNode from a string using Jackson?
I tried:
ObjectNode json = new ObjectMapper().readValue("{}", ObjectNode.class);
But get
Exception in thread "main" com.fasterxml.jackson.databind.JsonMappingException: Conflicting setter definitions for property "type": jdk.nashorn.internal.ir.Symbol#setType(1 params) vs jdk.nashorn.internal.ir.Symbol#setType(1 params)
I want to be able to read a JSON string the add/modify some values.