An ajax request returns me a standard JSON array filled with my user\'s inputs. The input has been sanitized, and using the eval() function, I can easily create my javascrip
To safely convert JSON to a JS object you should use a JSON parser such as the JSON.parse() function provided by this library.