QueryToJSON not returning array variables

71 views
Skip to first unread message

Steve Johnson

unread,
Jan 16, 2014, 2:05:55 PM1/16/14
to asp...@googlegroups.com
I have used QueryToJSON on one database that request multiple records and it is returning the data wrapped in the [ ] tags. ex

[{"dam_id":"M798"},{"dam_id":"M799"},{"dam_id":"M801"}] 

But doing the query against a different table in a different database returns this

{"dam_id":"M798"},{"dam_id":"M799"},{"dam_id":"M801"}

without the [  ] leading and ending tags.

P.S. I am using JSON_2.0.4-update.asp and  JSON_UTIL_0.1.1.asp 

any ideas of why this might be happening?

Steve Johnson

unread,
Jan 16, 2014, 2:18:32 PM1/16/14
to asp...@googlegroups.com
I resolved the problem by using JSON_2.0.4.asp instead of the update asp file.
Reply all
Reply to author
Forward
0 new messages