What is beautify JSON ?
When you have a compacted JSON document, the contents is all put on a single line. This is hard to read. Beautifying JSON is adding new lines and indentation to make the JSON readable. It is also called formatting JSON.
OK, so how do I beautify a JSON Object? This article will first explain a bit about whitespacing in JSON and why JSON is often delivered in a compact form. Then, it explains three ways you can beautify JSON data to make it readable.