JSON Question:
Download Job Interview Questions and Answers PDF
What is JSON Parser?
Answer:
The eval() function can compile and execute any JavaScript. This represents a potential security problem.
It is safer to use a JSON parser to convert a JSON text to a JavaScript object. A JSON parser will recognize only JSON text and will not compile scripts.
It is safer to use a JSON parser to convert a JSON text to a JavaScript object. A JSON parser will recognize only JSON text and will not compile scripts.
Download JSON Interview Questions And Answers
PDF
Previous Question | Next Question |
How to convert JSON Text to a JavaScript Object? | Which browsers provide native JSON support? |