This should becomemy $hashref = { abc => "abc'abc" };
, and it must work for blessed references as well. I'm currently using the JSON module, but I'm not married to it. Ideally, this would have been resolved by a hook in the JSON module - but that does not seem to be available. What other options do I have?{"abc":"abc\'abc"}
In reply to Perl structure to Javacript-ready JSON by Jeppe
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |