in reply to Re: Can not use JSON module
in thread Can not use JSON module

> Your string isn't a valid JSON.

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)