-
Notifications
You must be signed in to change notification settings - Fork 168
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow for updating values using queries and wildcards
This commit allows for updating values for more "complex" paths like: friends.#(last="Murphy")#.last This is allowed because GJSON now tracks the origin positions of all results (tidwall/gjson#222). This new ability is limited to updating values only. Setting new values that previously did not exist, or deleting values will return an error.
- Loading branch information
Showing
2 changed files
with
124 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters