Closed chris-horner closed 9 years ago
From the JsonSerializer javadoc
JsonSerializer
New applications should prefer TypeAdapter, whose streaming API is more efficient than this interface's tree API.
I don't think the code is any harder to understand, and it's nice to demonstrate a more efficient alternative to custom type adapters in Gson.
Thanks!
From the
JsonSerializer
javadocI don't think the code is any harder to understand, and it's nice to demonstrate a more efficient alternative to custom type adapters in Gson.