What does Json Pretty Print mean ?

I want to know what is the Pretty Print means ?
Tried to google and didn’t find a real explanation.

It’s just a nicely formatted way of printing JSON where each field is placed on a new line and indentation is added according to the nesting level of the data. It is intended to make the JSON data easy to read.

1 Like

When you request JSON data from a server or other, it will typically be returned as a one-line-long string format:

"{ 'userId': 1, 'id': 1, 'title': 'delectus aut autem', 'completed': false }"

Pretty-Printing just formats the ugly data into pretty data that’s easy to read:

{
    "userId": 1,
    "id": 1,
    "title": "delectus aut autem",
    "completed": false
}
1 Like