<div dir="ltr">Thanks, that would probably be possible. <div><br></div><div>It's just that this URL is called very frequently, so I'm trying to do everything as resource efficient as possible. I am worried that parsing the json in lua in Nginx and reformatting it would be too heavy on the server load. So I would have preferred if there is some way how I can tell the rds-json module to format it the way I want.</div>
<div><br></div><div>Seems there is no way to configure it in the module, so I will look for another solution.</div><div><br></div><div>Thanks,</div><div><br></div><div>Mauro</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Mon, Feb 25, 2013 at 4:12 PM, smallfish <span dir="ltr"><<a href="mailto:smallfish.xy@gmail.com" target="_blank">smallfish.xy@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
can use ngx_lua(openresty), filter/format the output.<br clear="all"><div>--<div><div>smallfish <a href="http://chenxiaoyu.org" target="_blank">http://chenxiaoyu.org</a></div></div></div><div class="HOEnZb"><div class="h5">
<br><br><div class="gmail_quote">On Mon, Feb 25, 2013 at 4:04 PM, replay <span dir="ltr"><<a href="mailto:nginx-forum@nginx.us" target="_blank">nginx-forum@nginx.us</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I just realized that I messed up the formatting. Actually what I'm looking<br>
for should be like this:<br>
<div><br>
{<br>
1971:{"nickname":"Robby1","age":28,"age_p":42,"city":"Dresden","plz":"","wio_plz":"2,4,5","gender":"m"},<br>
1972:{"nickname":"Robby2","age":29,"age_p":43,"city":"Dresden2","plz":"","wio_plz":"4,5","gender":"f"},<br>
1973:{"nickname":"Robby3","age":30,"age_p":44,"city":"Dresden3","plz":"","wio_plz":"5","gender":"m"}<br>
}<br>
<br>
</div>Posted at Nginx Forum: <a href="http://forum.nginx.org/read.php?2,236563,236564#msg-236564" target="_blank">http://forum.nginx.org/read.php?2,236563,236564#msg-236564</a><br>
<br>
_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org" target="_blank">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br>
</blockquote></div><br>
</div></div><br>_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br></blockquote></div><br></div>