I have a RESTful API, built in NODE.js that does what you would expect it to: consumes data and then makes it accessible. Currently, data being submitted to my server is nested form data:
data[username]=... data[email]=... data[phone]=... ... data[username]=... data[email]=... data[phone]=...
or as a query string
SO when I parse it on the server, I get a JS array of objects with those particular fields. What I am wondering is, is it safe for me accept a string that I can JSON.parse and the process it?
data=(some stringified json object)
I am unsure if it's possible for malicious code or anything to be included in the JSON object that would blow up my server once run through a parser