Jquery parseJSON
Instead of use: $.parseJSON( string );
Use : $.parseJSON( JSON.stringify ( string ) );
to serialize string to JSON encoded string. So '"a"' become "\"a\"".
Written by Razvan Stan
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Jquery
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#