first i got json data via web server like
$.getJSON(url,function(){
});
And now I have the data as follows:
{entries:[{title:'foo',id:'UUID',finished:null},{title:'bar',id:'UUID',finished:null},{title:'baz',id:'UUID',finished:null}]}
I need to find one specific JSON entry using the UUID, and after that I need to, for example, change one part, create new json data:
{title:'foo',id:'UUID',finished:true}
And send back to server using
$.post(url, data);
I completely lost myself in this situation ... can anyone help?
source
share