Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I have students data from a "getStudents" API call assembled together in a tHashInput component which has 2 students data. I don't know how to create the following output I have included a word document that has a snapshot of the code.
Note: The schema shown in the attached document might look different than the data provided below. Due to data-privacy I have removed the original content.
Hello
You need to set the attribute of 'students' element as 'array', see the configuration of JSON tree as below.
It will generate a Json string like this:
{"total":"2","students":[{"id":"1","firstname":"AAA","lastname":"BBB"},{"id":"2","firstname":"CCC","lastname":"DDD"}]}
Please try it and let me know if it works.
Regards
Shicong