diff --git a/docs-src/content/functions/coll.yml b/docs-src/content/functions/coll.yml index 58fb9b3fc..ff548b0c8 100644 --- a/docs-src/content/functions/coll.yml +++ b/docs-src/content/functions/coll.yml @@ -83,7 +83,7 @@ funcs: $ gomplate -i '{{ $o := data.JSON (getenv "DATA") -}} {{ if (has $o "foo") }}{{ $o.foo }}{{ else }}THERE IS NO FOO{{ end }}' THERE IS NO FOO - - name: conv.JSONPath + - name: coll.JSONPath alias: jsonpath description: | Extracts portions of an input object or list using a [JSONPath][] expression. diff --git a/docs/content/functions/coll.md b/docs/content/functions/coll.md index 70c27a560..c1647a2f3 100644 --- a/docs/content/functions/coll.md +++ b/docs/content/functions/coll.md @@ -125,7 +125,7 @@ $ gomplate -i '{{ $o := data.JSON (getenv "DATA") -}} THERE IS NO FOO ``` -## `conv.JSONPath` +## `coll.JSONPath` **Alias:** `jsonpath` @@ -140,10 +140,10 @@ JSONPath expressions can be validated at https://jsonpath.com ### Usage ```go -conv.JSONPath expression in +coll.JSONPath expression in ``` ```go -in | conv.JSONPath expression +in | coll.JSONPath expression ``` ### Arguments