If I don’t missunderstand the docs, this schould work as expected?!
dim data as new jsonitem("{'bla':'foo'}")
Dim key As String = data.KeyAt(0)
Dim value As String = data.ValueAt(0)
But valueAt raises JSONException “JSONItem is not an array”
Of course, I can do “Dim value As String = data.ValueAt(data.keyAt(0))”
What am I missing?
Marius
9 posts - 3 participants