Answers for "jsonnode update value"

1

jsonnode change field value

//to work with a field directly
((ObjectNode)carNode).put("color", "red");

//to work with an object
((ObjectNode)rootNode.get("car")).put("color", "red");
Posted by: Guest on December-15-2020

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language