“message”: “Deserialize JSON Array - UID: Input string ‘00000000F6166DF1F6BEAB4EBFD958890F04DD290700F21BA854455E5B4E92F1E1B56B5B121200000000010C0000F21BA854455E5B4E92F1E1B56B5B121200012F29E28F0000’ is not a valid number. Path ‘’, line 1, position 140.”,
This is baffling me, as I am inputting a string (a JObject.tostring) and outputting a JArray. The JSON is valid and the string is valid.
My workflow looks like this, with the read text file stored in the JSON_String variable and the JObject stored as JSON_Deserialised.
First off, how? Couldn’t use a for each. Second, why?
I am using a series of deserialise json array activities so I can create the correct output jarray variables. UID is the first of these and I am receiving this error.
This is not the first time I’ve decoded a JSON, but I’ve not seen this error before and I am unclear on the issue and how to clear it.
The issue is with deserialise json array, after deserialising the json into a jobject. from the error I can seethat the jobject(“uid”) is working and i nthe past I’ve had to use deserialise array to then get a result I can use. Is that not the case? Can i just use JSON_Deserialised(“UID”).tostring to use it?
This is as much of the JSON as I am willing to post.
We need to use Deserialize JSON when the JSON we have is having the parent JSON object is element
or if the parent JSON object is a array, we have to use Deserialize JSON array @SoqedHozi .
If we have array inside the JSON element, we need to loop through the elements and inside the for loop, we need to use deserialize array to get values inside the array