[ANN] ngx_rds_json v0.11: compact JSON output support
agentzh
agentzh at gmail.com
Wed Jul 6 07:33:53 MSD 2011
Hi, folks!
I'm glad to announce that ngx_rds_json v0.11 has been released:
https://github.com/agentzh/rds-json-nginx-module/downloads
This release includes the new directive "rds_json_format compact" to emit
very compact JSON like
[["id","name","age"],[1,"marry",18],[2,"bob",23],[3,"tom",9]]
instead of the more verbose default form
[{"id":1,"name":"marry","age":18},
{"id":2,"name":"bob","age":9},
{"id":3,"name":"tom","age":9}]
The ngx_rds_json module provides an output filter that can format the RDS
outputs generated by ngx_drizzle and ngx_postgres modules to JSON.
You can find the complete documentation on its project page:
https://github.com/agentzh/rds-json-nginx-module
This module is included and enabled by default in the ngx_openresty bundle:
http://openresty.org
Have fun!
-agentzh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20110706/3d2dc8bd/attachment.html>
More information about the nginx
mailing list