API Reference › Value › Value.put
method

Value.put

Value.put(obj, key: string, item) -> value

Sets member key of the obj node to item (replacing an existing member with the same key) and returns the object. Insertion order is preserved for a stable Json.encode.

← All symbols