Hi,
How can a string be converted to a JSON object in SAPUI5 ?
Example : var mystr = ' [ { name : "Joe", last : "Doe"}, { name : "Jack", last : "Daniel" }]';
How do i convert mystr to a JSON object which can be used in a JSONModel?
$,parseJSON(mystr) or jQuery.parseJSON(myStr) do not seem to exist.
JSONModel.setJSON(mystr) too did not work.
Any pointers ?
regards,
sreeram