-
Notifications
You must be signed in to change notification settings - Fork 338
Closed
Labels
Description
Is it possible to add an option to auto-create a JSON path in JSON.SET ?
It would be nice to set arbitrary values (e.g. counters for instrumentation) in a tree.
Right now there is no way to do this safely because creating the path using JSON can override existing values.
Example:
JSON.SET test .key1.key2 10 - this fails because .key1 does not exist
JSON.SET test .key1 {} - will create the key but if a .key1.key3 exists it will be destroyed
Reactions are currently unavailable