# Ngx\_rds\_json v0.11: compact JSON output support

**URL:** <https://www.ruby-forum.com/t/ngx-rds-json-v0-11-compact-json-output-support/209116>\
**Category:** NGINX\
**Created:** [July 6, 2011, 5:34am UTC](https://www.ruby-forum.com/t/ngx-rds-json-v0-11-compact-json-output-support/209116 "2011-07-06T05:34:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dubstep](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/cdc98d/32.png) [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Post date:** [July 6, 2011, 5:34am UTC](https://www.ruby-forum.com/t/ngx-rds-json-v0-11-compact-json-output-support/209116/1 "2011-07-06T05:34:35Z")

</div>

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](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](http://openresty.org)

Have fun!  
-agentzh
