From 9221bc20b1ff32e72d65c51b28f9afe1c32e0937 Mon Sep 17 00:00:00 2001 From: tidwall Date: Wed, 9 Aug 2023 15:08:32 -0700 Subject: [PATCH] Mention the did modifier --- README.md | 1 + SYNTAX.md | 1 + 2 files changed, 2 insertions(+) diff --git a/README.md b/README.md index c8db11f..da2bad4 100644 --- a/README.md +++ b/README.md @@ -211,6 +211,7 @@ There are currently the following built-in modifiers: - `@tostr`: Converts json to a string. Wraps a json string. - `@fromstr`: Converts a string from json. Unwraps a json string. - `@group`: Groups arrays of objects. See [e4fc67c](https://github.com/tidwall/gjson/commit/e4fc67c92aeebf2089fabc7872f010e340d105db). +- `@dig`: Search for a value without providing its entire path. See [e8e87f2](https://github.com/tidwall/gjson/commit/e8e87f2a00dc41f3aba5631094e21f59a8cf8cbf). ### Modifier arguments diff --git a/SYNTAX.md b/SYNTAX.md index 9405514..6721d7f 100644 --- a/SYNTAX.md +++ b/SYNTAX.md @@ -258,6 +258,7 @@ There are currently the following built-in modifiers: - `@tostr`: Converts json to a string. Wraps a json string. - `@fromstr`: Converts a string from json. Unwraps a json string. - `@group`: Groups arrays of objects. See [e4fc67c](https://github.com/tidwall/gjson/commit/e4fc67c92aeebf2089fabc7872f010e340d105db). +- `@dig`: Search for a value without providing its entire path. See [e8e87f2](https://github.com/tidwall/gjson/commit/e8e87f2a00dc41f3aba5631094e21f59a8cf8cbf). #### Modifier arguments