I want to extract each element of an Array. Can someone help me with this. When I use JSONElementToString (part of JSON Utilities SL), I am seeing output as "ARRAY" instead of actual data.
Here is the JSON content that I want to read :
{
"value1Unit": {
"units": "M"
},
"data": {
"stepSize": 300.23,
"points": [6,8]
}
}
I would like to read each item of the element "points" i.e. 6 and 8.
Here is the code I used,
I want to extract each element of an Array. Can someone help me with this. When I use JSONElementToString (part of JSON Utilities SL), I am seeing output as "ARRAY" instead of actual data.
Here is the JSON content that I want to read :
{
"value1Unit": {
"units": "M"
},
"data": {
"stepSize": 300.23,
"points": [6,8]
}
}
I would like to read each item of the element "points" i.e. 6 and 8.
Here is the code I used,
The content of the output of valueWstring is shown as "ARRAY" instead of the array items i.e. 6 and 8
Please can someone help me.
Last edit: hazarath 2024-07-31
Hi Creator: hazarath,
Have you fix the problem?
because I have the same issue
Thanks a lot
Hi Creator: hazarath,
Have you fix the problem?
because I have the same issue
Thanks a lot