Result = {“sfiyat_fiyati”:222}
The type of result is string but it comes like Json ![]()
Can i use split ? If i can how come ??
I only need numbers after (" : ")
Result = {“sfiyat_fiyati”:222}
The type of result is string but it comes like Json ![]()
Can i use split ? If i can how come ??
I only need numbers after (" : ")
hey @170290064
you can use:
splitResult = Result.Split(":"c)numberAsString = splitResult(1).Trim(New Char() { "}"c, " "c })finalNumber = Convert.ToInt32(numberAsString)or
Result).JObject (e.g., jsonObject).extractedValue (an integer variable to store the extracted number).CInt(jsonObject("sfiyat_fiyati").ToString)Here you go
Here’s how you can do it step by step:
{"sfiyat_fiyati":222}).jsonObject.sfiyat_fiyati.jsonObject("sfiyat_fiyati").ToString to get the value 222 as a string.Thanks,
Ashok ![]()
The RPA product that i am using doesn’t have Deserialize JSON activity. So that why i am looking for a way to solve it.
But it has code editor. How can i do it i do not know.
You can deserialize the JSON string to a JObject.

The RPA product that i am using doesn’t have Deserialize JSON activity. So that why i am looking for a way to solve it.
But it has code editor. How can i do it i do not know.
Are you allowed to install packages? If yes, you can install it from Manage Packages. Search for the package UiPath.WebAPI.Activities.

That’s the problem. I am not using UiPath RPA. I am using local RPA.
Thats why i need help ![]()
If you are not using UiPath Studio, it would be helpful for us to know what tool and what programming language you are using.
In that case here you go. It’s lengthy but you are open to optimize it.
JsonSplit.xaml (10.4 KB)
Thanks,
Ashok ![]()

I used code editor in the RPA Program but i am getting some kinda error
Shameless plug of the new Deserialize JSON feature that produces an object out of a sample JSON to make this easier ![]()
It works like this, during design time:
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.