How to call json objects using external html buttons

After downloading playcanvas project, i want to control assets using html buttons.
I want to update json file once click on the button.

I don’t really see the problem here. If you know how to detect the click, and you have your object storaged, for example, using window.localStorage, well, you can manipulate it.