Kien La Sun Oct 24 12:34:25 -0400 2010
Giacomo P. Sat Nov 13 04:58:57 -0500 2010
I'm back ...
The example shows how to work with only one results, but I need to encode to JSON an array of results.
Is there another way?
Thanks
Kien La Mon Nov 15 21:01:11 -0500 2010
Currently, you'd just have to iterate over the results and call to_json() on each. Not really ideal but I'll be addressing this in a future version.
(1-3/3)
Subject: JSON encoding
Hi all,
I need to create a JSON encoded string of the results of a query, is there an example on how to do this?
Thanks to all