How can i get the 1st value in JSON object?

I have this process.

How can i loop through the JSON object to get the ‘key’ in the object,

JsonObject = {“600”:1,
“610”:2 }
i want to print the “600” and “610”


you can use split(item.tostring,":"c)(0)

Hello @Rowley101
You can use Regex



Hi @Rowley101 ,

We can get the Key and Values of each item in the Json Object by retrieving the Properties of the Json Object.

For your Case, You can use JsonObject.Properties in the In part of For Each Activity to get access to the Name and Value of each item in the Json Object.

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