I am using html5 filereader api, this is my file:
{"menu_items":[' +
'{"name":"m_div_img1", "icon":"m_img1.jpg", "tip":"m_tip1.png"},' +
'],'+
'"desktop_items":[],'+
'"widget_items":[]}
This is my code: http://jsfiddle.net/radibg2/kemqpruu/2/ I am getting this error:
Uncaught SyntaxError: Unexpected token '
JSON.parsebecause the plus signs and single quotes are unexpected tokens, they don't belong there