public Node addValue(Node container, Node value) {
        return addWithFlag(container, value, false);
    }
Adds or replaces a {@code value} in {@code container} at the
JSON pointer location.

<p>When the JSON pointer is "", the entire document is replaced with the
given {@code value}. "-" can be used to access the last element of an array
or to add an element to the end of an array. Any error like adding
an object key to an array or attempting to access an invalid array
segment will log a warning and return the given value as-is.

@param container Node to update.
@param value Value to update or replace.
@return Returns a representation of {@code container} with the updated value.
smithy-model/src/main/java/software/amazon/smithy/model/node/NodePointer.java