Manipulating Grid Data

I have an editable grid bound to JSON data. After the binding is finished (.save()) is there a way for me to extract out the changed data in a JSON format without iterating through the grid’s items?


I just ended up removing all the data and repopulating:

var id= $$(‘mygrid’).first();
while (id!= null) {
id = $$(‘mygrid’).first();
$$(‘mygrid’).parse(json_data, “json”);

there is a built in method