Home > DeveloperSection > Interviews > What is JSON Parser?

Posted on    May-29-2013 2:46 AM

 JSON JSON 
Ratings:
 1 Answer(s)
  1801  View(s)
Rate this:

AVADHESH PATEL

Total Post:257

Points:1285
Posted on    May-29-2013 12:00 AM

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.

Don't want to miss updates? Please click the below button!

Follow MindStick