Hi All,
I was just refactoring some hand crafted JSON to use JSON's to_json method. However, I couldn't actually see a way to do it, as some of the values are functions. A simple example:
{ a: function() {return true;} }After perusing the JSON POD I can't see a way of getting this output from a Perl data structure.
In reply to Outputting JSON with function () {...} values by cosmicperl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |