Re: Extract Jsonb key and values - Mailing list pgsql-hackers

From Robert Haas
Subject Re: Extract Jsonb key and values
Date
Msg-id CA+TgmoZshFgQ=mQMmacjDpe03vjBHq4VH+JP5MBmbSc9fFwt2g@mail.gmail.com
Whole thread Raw
In response to Extract Jsonb key and values  ("hari.prasath" <hari.prasath@zohocorp.com>)
List pgsql-hackers
On Thu, Jun 23, 2016 at 8:52 AM, hari.prasath <hari.prasath@zohocorp.com> wrote:
> Hi all,
>     I am having jsonb as C character string received by WAL decoding and
> want to extract all its key and value pairs.
>
>
>    Which is the best approach for extracting keys and its values?
>
>     i)  Converting the C string to a PostgreSQL jsonb object
>     ii) Using open-source json-c library

I'm pretty sure there's some built-in function which can do this, but
this question is off-topic for this mailing list, which is about
feature development for PostgreSQL.  You probably want to ask
questions like this on pgsql-general.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Comment and function argument names are mismatched in bugmgr.c.
Next
From: Robert Haas
Date:
Subject: Re: how is the WAL receiver process stopped and restarted when the network connection is broken and then restored?