From 94e070960b0315398a4ab6edb1ff70cf8e87f4f7 Mon Sep 17 00:00:00 2001 From: tidwall Date: Fri, 1 Nov 2019 05:15:58 -0700 Subject: [PATCH] Add link to multipaths --- SYNTAX.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/SYNTAX.md b/SYNTAX.md index dda33af..a57a4d6 100644 --- a/SYNTAX.md +++ b/SYNTAX.md @@ -12,6 +12,7 @@ This document is designed to explain the structure of a GJSON Path through examp - [Queries](#queries) - [Dot vs Pipe](#dot-vs-pipe) - [Modifiers](#modifiers) +- [Multipaths](#multipaths) The definitive implemenation is [github.com/tidwall/gjson](https://github.com/tidwall/gjson). Use the [GJSON Playground](https://gjson.dev) to experiment with the syntax online. @@ -235,7 +236,7 @@ gjson.AddModifier("case", func(json, arg string) string { "children.@case:lower.@reverse" ["jack","alex","sara"] ``` -#### Multipaths +### Multipaths Starting with v1.3.0, GJSON added the ability to join multiple paths together to form new documents. Wrapping comma-separated paths between `{...}` or