Use or modify the JSONR pattern below:
Then interpret it as an HTML view and a JavaScript controller.
Update the JSON object using the generated view and controller:
Then serialize it for transfer or go back to your model.
Update the JSON string below:
And refresh the view with it according to the model.