JSONNODODE change la valeur du champ

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

//to work with an object
((ObjectNode)rootNode.get("car")).put("color", "red");
serhii.nahornyi