Assign item from JSON to an array

Ah I see, the issue I had was with new, I assume as I already had the variable set.

I have this error though, as length is an array variable image

Check if your right side of assign is correct…
JSON_Deserialised.root(“secondaryDetails”).Item(“length”).ToObject(of Int32())

Ah I see, I was missing a pair of brackets!

Thanks very much

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