A common use of JSON is to read data from a web server, and display the data in a web page.
For simplicity, this can be demonstrated by using a string as input (instead of a file).
This represents a potential security problem. Try to avoid it.
A JSON parser will recognize only JSON text and will not compile scripts.
In browsers that provide native JSON support, JSON parsers are also faster.
|Web Browsers Support|
The JSON format was originally specified by Douglas Crockford