Hi @divyak96999766 ,
We can use javascript use api as mentioned here - Day 08: Dueling with JavaScript Use API (redquark.org)
We can have a js servlet call on click to fetch the json. In the use api js "use function" we can use the response from servlet call, set the return object to the json. "tex...