I have a com.fasterxml JsonNode
object with some data. I need to do some manipulation on its data. I googled for answer but didn't got it properly. Can you please suggest me how to manipulate JsonNode data.
I have also tried to convert JsonNode
to ObjectNode
as follows
ObjectNode objectNode = (ObjectNode)filterJson;
but its giving following exception....
java.lang.ClassCastException: com.fasterxml.jackson.databind.node.TextNode cannot be cast to
com.fasterxml.jackson.databind.node.ObjectNode
please help!!