Re: Interest in serializing composite types?

"David E. Wheeler" <[email protected]> Mon, 25 Aug 2014 12:15:29 -0700
Newsgroups gmane.comp.db.postgresql.dbdpg
Message-ID <[email protected]>
On Aug 25, 2014, at 12:11 PM, Andrew Dunstan <[email protected]> wrote:

> 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.

I know. What I'm suggesting is a DBD::Pg switch that auto-converts between /JSONB?/ values and hashes and arrays (assuming an appropriate JSON parser is installed).

Best,

David
signature.asc (application/pgp-signature, 842 B)
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iQIcBAEBCgAGBQJT+4tRAAoJEJLfYnT4yIHxCyoP/3CUzgPgrrOTz3c5c+7y9Cwc
GsOlJQLfOUgUxyyukn+NDinjHchpvDQXKE1F7Yc6+18121Ord4Ykn2gEcni5SgMT
nDJ5/qza9bKV+HUw1aemsSBfTx3P8doT+o7CPi+Fx6hiqHqgHa8lDKDdvSsG3wbP
vhRh2Ww6JzG30L8vX6lDKHVRxziwuf6J2f7TawAq1mibyCZQSVg4VhG+Ui/IObAA
s1nzjDUJmyXzl0xO7L2og8o3KdJX5fDi8QmO7OGG6FkvcMarYrnxJiSqjUS6PxQJ
hc7RQt7OWIun1D+usnY9bj0suLPAxDcIYZEVh5dx6Qvjoqaj+Cy0rLx9ug6zxFNP
wtTuXxOJWWaMPALNZSeB2jysePsg/sJYNDFJQZ880SwbK27hRiT1yVHdhim1CJRX
jF0z6otIyfAY8GpmdXh7MSwf3KgjovnOjOcHuTHl5VpjyZ0VuPtpSFVXGEoenwx9
qQXNh3qfhp6yg01JncIWCIDuYHwvlYtoAI+toX+PSmfMkmQM1PRqv9WJlRECjbBE
GGnm0chNXNNc6b4WlmUP9Wo2FAQCtv0ohj09BeTGsU2GJtd09kBTfPt3P0D+3J4E
ETOk9Dzcfeybdj19AcwloRvragjhJdPBJQxNrYv6LWbcwxoc1vewN+1ldW48o1+O
moFXjybomcgH1VltDBEV
=VnhZ
-----END PGP SIGNATURE-----