Passing a JSON object into a input parameter in perspective

hello everyone, im having trouble trying to pass a lengthy JSON such as this one:https://randomuser.me/api/ into a input parameter to dynamically populate information such as the name of the random user, does anyone have input on this?

Posting your code might be helpful.

Post the issue and resolution in case someone else has the same question

1 Like

okay so what i did was this: on the view i made a startup script:
source1=system.net.httpGet(https://randomuser.me/api/ )|
source2 = system.util.jsonDecode(source1)|
self.view.params.details = source2

so when i started i was getting the text from the website into the input parameter but as a giant string, so all i had to do was decode it and wallah, proper formating.

2 Likes