PDA

View Full Version : reading JSON data



hsfrey
09-19-2009, 05:46 AM
Why is it necessary to parse or eval a json file?

Since it is presumably legal JS, why couldn't I just name the file in the src attribute of a <script> statement?

I'm not worried for the time being about security problems, but they shouldn't be any worse than importing any other external JS file.