title: Is there a name for how console.log formats the Json object?
body: <p>When a json object is printed, for ex in a script executed by node using console.log, it does not fully pretty print the json. It kind of takes middle ground and prints as few lines as possible without losing much in terms of readability.</p>
  
  <p>I was wondering if there is any name for this formatting or an algorithm. I want to implement this formatting in other languages.</p>