/** * Method for adding all properties of the given Object, overriding * any existing values for those properties. * * @param other Object of which properties to add to this object * * @return This node (to allow chaining) * * @since 1.3 */ public JsonNode putAll(ObjectNode other) { int len = other.size(); if (len > 0) { if (_children == null) { _children = new LinkedHashMap<String, JsonNode>(len); } other.putContentsTo(_children); } return this; }
/** * Method for adding all properties of the given Object, overriding * any existing values for those properties. * * @param other Object of which properties to add to this object * * @return This node (to allow chaining) * * @since 1.3 */ public JsonNode putAll(ObjectNode other) { int len = other.size(); if (len > 0) { if (_children == null) { _children = new LinkedHashMap<String, JsonNode>(len); } other.putContentsTo(_children); } return this; }
/** * Method for adding all properties of the given Object, overriding * any existing values for those properties. * * @param other Object of which properties to add to this object * * @return This node (to allow chaining) * * @since 1.3 */ public JsonNode putAll(ObjectNode other) { int len = other.size(); if (len > 0) { if (_children == null) { _children = new LinkedHashMap<String, JsonNode>(len); } other.putContentsTo(_children); } return this; }
/** * Method for adding all properties of the given Object, overriding * any existing values for those properties. * * @param other Object of which properties to add to this object * * @return This node (to allow chaining) * * @since 1.3 */ public JsonNode putAll(ObjectNode other) { int len = other.size(); if (len > 0) { if (_children == null) { _children = new LinkedHashMap<String, JsonNode>(len); } other.putContentsTo(_children); } return this; }
/** * Method for adding all properties of the given Object, overriding * any existing values for those properties. * * @param other Object of which properties to add to this object * * @return This node (to allow chaining) * * @since 1.3 */ public JsonNode putAll(ObjectNode other) { int len = other.size(); if (len > 0) { if (_children == null) { _children = new LinkedHashMap<String, JsonNode>(len); } other.putContentsTo(_children); } return this; }