Think about Loose Coupling | |
PerlMonks |
Re^2: Javascript in your JSONby Anonymous Monk |
on Apr 08, 2009 at 19:08 UTC ( [id://756422]=note: print w/replies, xml ) | Need Help?? |
I agree that putting scripts in a JSON structure is definitely not in the JSON standard. Even though JSON, before being a data-exchange standard, was just the run-of-the-mill javascript object notation in which script coderefs are perfectly acceptable.
The thing is that most ajax based frameworks, such as ExtJS, accept, or even recommend putting scripts in a JSON structure. So I guess I'll keep looking for a module that can dump that... or write my own.
In Section
Seekers of Perl Wisdom
|
|