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
I've got a specific use case where I am calculating checksum/hash for the object contents based on the serialization output. Does GSON preserve the order of elements in an associative array?
For instance JSON doesn't support that. I've found many references that GSON maintains that order correctly, however I can't find any official info about that.
Hope you can help to answer that. Thanks !
The text was updated successfully, but these errors were encountered:
Thank you for your response.
Is this behaviour documented either in the original: https://github.com/google/gson or in this repository?
Basically this is something I am going to rely on, looking for more assurance, especially that the is pretty lots of confusion in this topic.
I've got a specific use case where I am calculating checksum/hash for the object contents based on the serialization output. Does GSON preserve the order of elements in an associative array?
For instance JSON doesn't support that. I've found many references that GSON maintains that order correctly, however I can't find any official info about that.
Hope you can help to answer that. Thanks !
The text was updated successfully, but these errors were encountered: