Re: Interest in serializing composite types?

Andrew Dunstan <[email protected]> Mon, 25 Aug 2014 15:11:56 -0400
Newsgroups gmane.comp.db.postgresql.dbdpg
Message-ID <[email protected]>
On 08/25/2014 02:59 PM, David E. Wheeler wrote:
> On Aug 25, 2014, at 11:58 AM, Andrew Dunstan <[email protected]> wrote:
>
>> In the hands of a client jsonb is still just a string, more or less. And of course json is just a string anyway. We never send the jsonb on-disk format to a client, even in binary mode.
> I mean for DBD::Pg to convert between /JSONB/ strings and Perl hashes and/or arrays.
>


Well, there's no difference from DBD:Pg's POV between json and jsonb. 
And as I mentioned before, there are numerous modules for converting 
between json and native perl structures.

cheers

andrew