Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: tidwall/gjson
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.15.0
Choose a base ref
...
head repository: tidwall/gjson
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.16.0
Choose a head ref
  • 2 commits
  • 4 files changed
  • 1 contributor

Commits on Aug 9, 2023

  1. Add @dig modifier for recursive descent searches

    This commit adds the "@dig" modifier, which allows for searching
    for values in deep or arbitrarily nested json documents
    
    For example, using the following json:
    
    ```
    { "something": {
        "anything": {
          "abcdefg": {
              "finally": {
                "important": {
                    "secret": "password"
                }
            }
          }
        }
      }
    }
    ```
    
    ```
    @dig:secret  ->  ["password"]
    ```
    
    See #130
    tidwall committed Aug 9, 2023
    Configuration menu
    Copy the full SHA
    e8e87f2 View commit details
    Browse the repository at this point in the history
  2. Mention the dig modifier

    tidwall committed Aug 9, 2023
    Configuration menu
    Copy the full SHA
    1ff915d View commit details
    Browse the repository at this point in the history
Loading