Re: Tackling JsonPath support
От
David G. Johnston
Тема
Re: Tackling JsonPath support
Дата
Msg-id
CAKFQuwZWHonT8=8F119f8PaDCkvWAyGu=z-gBDPULCDu_usR6w@mail.gmail.com
Ответ на
Re: Tackling JsonPath support (Christian Convey)
Список
Дерево обсуждения
Tackling JsonPath support Christian Convey <christian.convey@gmail.com>
Re: Tackling JsonPath support Pavel Stehule <pavel.stehule@gmail.com>
Re: Tackling JsonPath support Christian Convey <christian.convey@gmail.com>
Re: Tackling JsonPath support Tom Lane <tgl@sss.pgh.pa.us>
Re: Tackling JsonPath support Pavel Stehule <pavel.stehule@gmail.com>
Re: Tackling JsonPath support Christian Convey <christian.convey@gmail.com>
Re: Tackling JsonPath support David Fetter <david@fetter.org>
Re: Tackling JsonPath support Pavel Stehule <pavel.stehule@gmail.com>
Re: Tackling JsonPath support Nico Williams <nico@cryptonector.com>
Re: Tackling JsonPath support Christian Convey <christian.convey@gmail.com>
Re: Tackling JsonPath support Nico Williams <nico@cryptonector.com>
Re: Tackling JsonPath support Christian Convey <christian.convey@gmail.com>
Re: Tackling JsonPath support Nico Williams <nico@cryptonector.com>
Re: Tackling JsonPath support "David G. Johnston" <david.g.johnston@gmail.com>
Re: Tackling JsonPath support Nico Williams <nico@cryptonector.com>
Re: Tackling JsonPath support Pavel Stehule <pavel.stehule@gmail.com>
Re: Tackling JsonPath support Pavel Stehule <pavel.stehule@gmail.com>
Re: Tackling JsonPath support Christian Convey <christian.convey@gmail.com>
Re: Tackling JsonPath support Pavel Stehule <pavel.stehule@gmail.com>
Re: Tackling JsonPath support Petr Jelinek <petr@2ndquadrant.com>
Re: Tackling JsonPath support Nico Williams <nico@cryptonector.com>
Re: Tackling JsonPath support Petr Jelinek <petr@2ndquadrant.com>
Re: Tackling JsonPath support Christian Convey <christian.convey@gmail.com>
Re: Tackling JsonPath support Robert Haas <robertmhaas@gmail.com>
Re: Tackling JsonPath support Nico Williams <nico@cryptonector.com>
Re: Tackling JsonPath support Robert Haas <robertmhaas@gmail.com>
Re: Tackling JsonPath support Tom Lane <tgl@sss.pgh.pa.us>
Re: Tackling JsonPath support Nico Williams <nico@cryptonector.com>
Re: Tackling JsonPath support Nico Williams <nico@cryptonector.com>
Re: Tackling JsonPath support Robert Haas <robertmhaas@gmail.com>
Re: Tackling JsonPath support Christian Convey <christian.convey@gmail.com>
Re: Tackling JsonPath support Christian Convey <christian.convey@gmail.com>
Re: Tackling JsonPath support Nico Williams <nico@cryptonector.com>
Re: Tackling JsonPath support Jim Nasby <Jim.Nasby@BlueTreble.com>
Re: Tackling JsonPath support Pavel Stehule <pavel.stehule@gmail.com>
Re: Tackling JsonPath support Christian Convey <christian.convey@gmail.com>
Re: Tackling JsonPath support Christian Convey <christian.convey@gmail.com>
Re: Tackling JsonPath support Pavel Stehule <pavel.stehule@gmail.com>
While XPath is expressive and compact, XSLT
is rather verbose; jq is as expressive as XSLT, but with the compact
verbosity of XPath.
Instead, your point was that jq seems to have many advantages over json-path in general, and therefore PG should offer jq instead or, or in addition to, json-path.
IMO jq is considerably closer to XSLT than XPath - which leads me to figure that since xml has both that JSON can benefit from jq and json-path. I'm not inclined to dig too deep here but I'd rather take jq in the form of "pl/jq" and have json-path (abstractly) as something that you can use like "pg_catalog.get_value(json, json-path)"
David J.
В списке pgsql-hackers по дате отправления