Re: PATCH: Add hstore_to_json() - Mailing list pgsql-hackers

From David E. Wheeler
Subject Re: PATCH: Add hstore_to_json()
Date
Msg-id B439FD39-183A-4DBA-967D-E8CAF86E0196@kineticode.com
Whole thread Raw
In response to Re: PATCH: Add hstore_to_json()  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: PATCH: Add hstore_to_json()  (Andrew Dunstan <andrew@dunslane.net>)
Re: PATCH: Add hstore_to_json()  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
On Jan 3, 2010, at 8:00 AM, Andrew Dunstan wrote:

> I think the minimal functionality I'd want is:
>
>   convert record to JSON
>   convert JSON to record

With caveats as to dealing with nested structures (can a record be an attribute of a record?).

>   extract a value, or set of values, from JSON
>   composition of JSON

There's a lot of functionality in hstore that I'd like to see. It'd make sense to use the same operators for the same
operations.I think I'd start with hstore as a basic spec. 

Best,

David

pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: invalid UTF-8 via pl/perl
Next
From: "David E. Wheeler"
Date:
Subject: Re: Testing with concurrent sessions