Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix LongSerializationPolicy null handling being inconsistent with Gson #1990

Commits on Oct 11, 2021

  1. Fix LongSerializationPolicy null handling being inconsistent with Gson

    Gson does not actually use the specified LongSerializationPolicy but instead
    uses type adapters which emulate the behavior. However, previously Gson's
    implementation did not match LongSerializationPolicy regarding null handling.
    
    Because it is rather unlikely that LongSerializationPolicy has been used on
    its own, this commit adjusts its implementation to match Gson's behavior
    (instead of the other way around).
    Marcono1234 committed Oct 11, 2021
    Configuration menu
    Copy the full SHA
    d9c0ab4 View commit details
    Browse the repository at this point in the history