Home >Web Front-end >JS Tutorial >Print the content of the json object and JSON.stringify function application_json
When debugging, you often need to know the content of the json object. Through the JSON.stringify function, you can convert the json object into a string.
alert(JSON.stringify(msg)); <br>}, <br>success : function(msg) { <br>alert(JSON.stringify(msg)); <br>}) <br>})