Hi all,
Need help with reading stuff from JSON. The one I’ve attached. It has 2 instances.
I need to get from it:
name, source_language name , target_language name.
The problem is that it is not readable for Deserialize json array, so that I cant reach these values by using Deserialize JSON.
Pleased for help.
I don’t find any attachments in the post
And, if it a perfect JSON, then try replacing the double quotes with single quotes and paste it inside the activity. else read it as a string and pass the string to the activity
I’m not sure in which case it is not working @Syed_Kashif_Nasar . Its working for me in all the cases. Please explain the case so that the staff will have a look and rectify the activity so that we can get the perfect solution for this
Thank you, @HareeshMR.
I got a single value. But I need the same (name, source_language name, target_language name) for all instances of JSON…
Is there a way to extract them?
You just need to use two more assign activities to get the values . So please try the same way and let me know if you stuck so that I will help you out
@HareeshMR,
I recieve a generic JSON with different number of instances every time.
Every instance has: name, source_language name, target_language name.
So how can I loop through instances and get these values?
You can loop through the JSON Object to get the required values, but if you have the specific element names , what we call (forgot ), like source_language, you can use them to loop through the particular object