//to work with a field directly ((ObjectNode)carNode).put("color", "red"); //to work with an object ((ObjectNode)rootNode.get("car")).put("color", "red");