On 13 Mar 2016, at 2:03 AM, Nick Kew <n...@apache.org> wrote: > I'm working on a module for HTTPD that needs to talk json: > read client requests, and send responses. > > Before I re-invent this particular wheel, is anyone aware > of existing code under apache-compatible license that parses > json to an APR table (or hash) and vice versa?
For the record, JSON support has landed in apr v2.0 and apr-util v1.7 respectively: http://svn.apache.org/viewvc?rev=1835348&view=rev <http://svn.apache.org/viewvc?rev=1835348&view=rev> http://svn.apache.org/viewvc?rev=1835350&view=rev <http://svn.apache.org/viewvc?rev=1835350&view=rev> We can both encode and decode, we support optional whitespace, as well as ordered keys for the benefit of unit tests. Regards, Graham —