Skip site navigation (1) Skip section navigation (2)

Re: Proposal: Add JSON support

From: Joseph Adams <joeyadams3(dot)14159(at)gmail(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Proposal: Add JSON support
Date: 2010-03-29 18:33:10
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
On Mon, Mar 29, 2010 at 2:23 PM, David E. Wheeler <david(at)kineticode(dot)com> wrote:
> On Mar 29, 2010, at 9:02 AM, Tom Lane wrote:
>> If this is going to end up being one fairly small C file implementing
>> a spec that is not a moving target, I'd vote against depending on an
>> external library instead, no matter how spiffy and license-compatible
>> the external library might be.
> Perhaps you could fork one, in that case.
> Best,
> David

I'm considering using and adapting cJSON instead of continuing with my
redundant implementation.  I could run `indent -kr -i4` on it (will
that match PostgreSQL's coding style?), add support for UTF-16
surrogate pairs (pair of \u... escapes for each character above U+FFFF
as required by the JSON spec), and add a switch to turn on/off pure
ASCII output.

P.S.: Sorry for the repeat, David.  I forgot to CC the mailing list.

In response to

pgsql-hackers by date

Next:From: Josh BerkusDate: 2010-03-29 18:52:34
Subject: Re: Alpha release this week?
Previous:From: David E. WheelerDate: 2010-03-29 18:23:16
Subject: Re: Proposal: Add JSON support

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group