Gson Builder — Pretty Printing

After more than fifteen function-relevant Gson tutorials we'll move to something more developer focused. By default Gson will create minified JSON strings. This is important to reduce the amount of data being transferred over the network. However, especially with large models, for us developers it can be challenging to read the output. If you're checking the JSON and trying to verify the created structure, this tutorial might help you.

Of course, this will not be the only tutorial in our Gson series. If you're interested in the other topics, check out our series outline:

Gson Series Overview


Continue reading

University Enrollment Required

Future Students benefit from value packed videos and tutorials.

Enroll to receive exclusive content or sign in if you’re already a Future Student.

Enroll me for $15/mo

Explore the Library

Find interesting tutorials and solutions for your problems.