Hi everyone!
I have a question that is bugging me these days.
So I managed to read a JSON file and extract the data and then fill the field in a Java application with that data.
What I did was
- HTTP Request GET call to the API
- Output - Result: Created a Variable strNameSurname
- Deserialized the JSON
- Input: JSONString: strNameSurname
- Output: JSONObject: JSONObjectNS
- Multiple assign two values : Name, Surname
- Name = JSONObjectNS.SelectToken(“name”).ToString
- Surname = JSONObjectNS.SelectToken(“surname”).ToString
- In the Java App I used the Selector Type Into:
First Name: Name (the variable)
Last Name: Surname (the variable)
Click Save.
Question:
I have over 100 JSON entities (people with name and surname) and I need to:
- Enter the name and surname from one id
- Click Save
- Go to the next id Person
- Click Save
Right now, if I use the “name” SelectToken it actually extracts all of that data.
Can it be made to start with one Id, put the data, click on Save, go to the next Id?