---
id: value-put
name: Value.put
category: value
kind: namespace-method
tokens: Value.put
sig: Value.put(obj, key: string, item) -> value
tip: Set a key on an object; returns the object.
order: 9
ns: Value
member: put
---
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.