Closed GoogleCodeExporter closed 8 years ago
"prw MultiArray " in my post is just our debug string, do not pay attention to
it,
please :)
Original comment by umaxfun
on 9 Jul 2008 at 9:42
Isn't correct issue. Use jsArray().
{{{
' *** ol.List PERSONIFICATION ***
Class SampleItem
Public Id
Public Name
End Class
Dim i, List(25)
For i = 0 To 25
Set List(i) = new SampleItem
List(i).Id = i
List(i).Name = "person " & i
Next
' *** ol.List PERSONIFICATION ***
' List aka ol.List
Set a = jsArray()
For Each x In List
Set a(Null) = jsArray()
a(Null)("id") = x.Id
a(Null)("name") = x.Name
Next
a.Flush ' Response.Write toJSON(a)
}}}
Original comment by tugrulto...@gmail.com
on 14 Jul 2008 at 10:05
Oh! I didn't ever see this - "a(Null)", furthermore I do not get why am I
wrong, but
thanks, tomorrow I'll try your solution. Nevertheless, thanks for your comment.
I'm
sure I'm not the first and not the last to come into this trouble, sure it
helps :)
Original comment by umaxfun
on 14 Jul 2008 at 10:23
Original issue reported on code.google.com by
umaxfun
on 9 Jul 2008 at 9:36