Re: Proposal: Add JSON support
От | Joseph Adams |
---|---|
Тема | Re: Proposal: Add JSON support |
Дата | |
Msg-id | e7e5fefd1003291133x38785f6fx6d1d24976ce87d04@mail.gmail.com обсуждение исходный текст |
Ответ на | Proposal: Add JSON support (Joseph Adams <joeyadams3.14159@gmail.com>) |
Список | pgsql-hackers |
On Mon, Mar 29, 2010 at 2:23 PM, David E. Wheeler <david@kineticode.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.
В списке pgsql-hackers по дате отправления: