Decoding a json with for each

i see it in your own error…

I used assign to a string variable from a Jobject.

You can see from Assign: that I have used assign, and value(of string) that it is a string. I also said as you can see “new JObject” which is a JObject variable. There is no JArray set anywhere.

I have solved it as I suggested above, using assign.

entityValue is a string
entityObject.Root(entityID).Item(0).item(“value”).Value(of string)

This doesnt look very good to me, but if you are happy, im happy! :smiley:

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.