JSON path wild cards? - Mailing list pgsql-general

From Dennis
Subject JSON path wild cards?
Date
Msg-id 45DB8C41-13C9-466D-AA1E-29A32B259D3A@visi.com
Whole thread Raw
Responses Re: JSON path wild cards?
Re: JSON path wild cards?
Re: JSON path wild cards?
List pgsql-general
Is there a way to specify a wild card in a json path?

For example I have the following json doc:

[ {“a”:1,”b”: [ { “x”: 7,”y”:8,”z”:9} ] },  {“a”:2,”b”: [ { “x”: 4,”y”:5,”z”:6} ] }, … ]

How do I write a select clause that can return the values for all b x values something like [{b:x}] that would return
allthe b:x values in the array? e.g. 7 and 4 ...  

Also is there a definition of the syntax of a proper json path for use in postgres?

pgsql-general by date:

Previous
From: John R Pierce
Date:
Subject: Re: using a postgres table as a multi-writer multi-updater queue
Next
From: Michael Paquier
Date:
Subject: Re: JSON path wild cards?