Parsing the JSON update

How to convert this JSON to list of object

this ex 1.

“[{“name”:sampleName1,“age”:21},{“name”:sampleName2,“age”:29}]”

to: ex 2.

image

or pass that ex 1 to ex 2 list of object to that Page variables?

Ex 1 is already a list of objects with 2 properties. If ex1 is the output of a flow function, pass it to the variable in ex 2. When assigning the variable value, select output from another node, then select the flow function which is the JSON object.

Thank you sir @Alan_Alves
solved this problem sir.

ex 1:
“[{“name”:sampleName1,“age”:21},{“name”:sampleName2,“age”:29}]”

ex 1. output pass to custom js with basic code and list of object output parameter. see bellow:

and create Page Variables with List of Object type
image

Now pass your custom js ouput to Page Variables