Indeed! I tested in the FF console, and JSON.parse(str) rejects single quotes.
Replacing with double quotes is fixing the problem.
see also http://stackoverflow.com/questions/36038454/parsing-string-as-json-with-single-quotes
Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!
PS: reply composed before choroba updated the root cause (single quotes)
In reply to Re^2: Can not use JSON module
by LanX
in thread Can not use JSON module
by tejD
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |