You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the moment the Array Streamer functionality exits from the json reader as soon as it finds the result it looking for.
Unfortunately this will cause the json reader to be in an unknown state where it has not finished reading the entire json tree correctly.
There are some benefits to not reading the json tree, but by default it should read the entire tree to ensure that compatibility is maintained with other Gson functionality.
An annotation field should be exposed which allows a developer to disable reading the entire tree. This would normally be done where the array is the only element being consumed and the reader can be discarded immediately.
The text was updated successfully, but these errors were encountered:
At the moment the Array Streamer functionality exits from the json reader as soon as it finds the result it looking for.
Unfortunately this will cause the json reader to be in an unknown state where it has not finished reading the entire json tree correctly.
There are some benefits to not reading the json tree, but by default it should read the entire tree to ensure that compatibility is maintained with other Gson functionality.
An annotation field should be exposed which allows a developer to disable reading the entire tree. This would normally be done where the array is the only element being consumed and the reader can be discarded immediately.
The text was updated successfully, but these errors were encountered: