jsonnode change field value

Solutions on MaxInterview for jsonnode change field value by the best coders in the world

showing results for - "jsonnode change field value"
Lennart
20 Jan 2017
1//to work with a field directly
2((ObjectNode)carNode).put("color", "red");
3
4//to work with an object
5((ObjectNode)rootNode.get("car")).put("color", "red");
similar questions
queries leading to this page
jsonnode change field value