rds-json generate json with index key on first level of array
smallfish
smallfish.xy at gmail.com
Mon Feb 25 08:12:11 UTC 2013
can use ngx_lua(openresty), filter/format the output.
--
smallfish http://chenxiaoyu.org
On Mon, Feb 25, 2013 at 4:04 PM, replay <nginx-forum at nginx.us> wrote:
> I just realized that I messed up the formatting. Actually what I'm looking
> for should be like this:
>
> {
>
> 1971:{"nickname":"Robby1","age":28,"age_p":42,"city":"Dresden","plz":"","wio_plz":"2,4,5","gender":"m"},
>
> 1972:{"nickname":"Robby2","age":29,"age_p":43,"city":"Dresden2","plz":"","wio_plz":"4,5","gender":"f"},
>
> 1973:{"nickname":"Robby3","age":30,"age_p":44,"city":"Dresden3","plz":"","wio_plz":"5","gender":"m"}
> }
>
> Posted at Nginx Forum:
> http://forum.nginx.org/read.php?2,236563,236564#msg-236564
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20130225/8cfac46e/attachment.html>
More information about the nginx
mailing list