| From: | Andrew Dunstan <andrew(at)dunslane(dot)net> |
|---|---|
| To: | PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | json api WIP patch |
| Date: | 2012-12-26 20:33:59 |
| Message-ID: | 50DB5F37.3000103@dunslane.net |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Here is a patch for the first part of the JSON API that was recently
discussed. It includes the json parser hook infrastructure and
functions for json_get and friends, plus json_keys.
As is, this exposes the json lexer fully for use by the hook functions.
But I could easily be persuaded that this should be an opaque structure
with some constructor and getter functions - I don't think the hook
functions need or should be able to set anything in the lexer.
Work is proceeding on some of the more advanced functionality discussed.
cheers
andrew
| Attachment | Content-Type | Size |
|---|---|---|
| jsonapi1.patch | text/x-patch | 59.0 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Greg Stark | 2012-12-26 22:28:09 | Re: buffer assertion tripping under repeat pgbench load |
| Previous Message | Josh Berkus | 2012-12-26 20:32:33 | Re: Feature Request: pg_replication_master() |