http://www.perlmonks.org?node_id=881909


in reply to JSON Formatted String

Use JSON::XS (which JSON will load if it's installed). Your JSON will be correct. I guarantee it, or your money back.