in reply to Re^2: Javascript in your JSON
in thread Javascript in your JSON

A JSON file that includes arbitrary JavaScript code is not a JSON file, it's a JavaScript file. You should be looking for tools to help you generate JavaScript, not JSON.