in reply to Re: Perl structure to Javacript-ready JSON
in thread Perl structure to Javacript-ready JSON
.. and must therefore escape the string. I've written code that's essentially like in proposal one. Thanks!var data = JSON.parse('{"abc":"abc\'abc"}');
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Perl structure to Javacript-ready JSON
by ikegami (Patriarch) on Nov 26, 2014 at 14:18 UTC | |
by LanX (Saint) on Nov 26, 2014 at 16:16 UTC |