JAVA – Best approach to parse huge (extra large) JSON file
You don’t need to switch to Jackson. Gson 2.1 introduced a new TypeAdapter interface that permits mixed tree and streaming serialization and deserialization. The API is efficient and flexible. See Gson’s Streaming doc for an example of combining tree and binding modes. This is strictly better than mixed streaming and tree modes; with binding you … Read more