Gson Advanced — On-The-Fly-Parsing With Streams

In the previous Gson blog posts, we've always read and
written JSON from and to fully allocated memory objects. We assumed that the application already has the entire JSON file in memory.

In this blog post, we'll explore Gson's support in cases that isn't possible. Gson makes it easy to convert JSON from and to Java's InputStreams and OutputStreams.

Of course, this will not be the only post 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.