in reply to Perl structure to Javacript-ready JSON
I have not used it myself (no need) but from the documentation, it sounds as though JavaScript::Value::Escape may be what you are looking for. If not, please say why not because it sounds like escaping literals for embedding into Javascript is its raison d'être.
|
|---|