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

Support serialization of collections that are not lists #1821

Merged
merged 5 commits into from Jan 28, 2022

Commits on Jan 9, 2022

  1. Configuration menu
    Copy the full SHA
    661e87e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1175416 View commit details
    Browse the repository at this point in the history
  3. Support serialization of collections that are not lists

    So far there was an implicit assumption hard-coded that collections are
    always lists. However, sets are also collections, and can be serialized
    to JSON arrays just like lists.
    
    This change allows to serialize generic collections independently of the
    concrete implementation.
    
    Fixes Kotlin#1421.
    sschuberth committed Jan 9, 2022
    Configuration menu
    Copy the full SHA
    96f475e View commit details
    Browse the repository at this point in the history
  4. Rename ListLikeSerializer to CollectionLikeSerializer

    Now with `CollectionSerializer` inheriting from `ListLikeSerializer`, it
    makes sense to rename `ListLikeSerializer` to the more generic
    `CollectionLikeSerializer`.
    sschuberth committed Jan 9, 2022
    Configuration menu
    Copy the full SHA
    ed99652 View commit details
    Browse the repository at this point in the history

Commits on Jan 19, 2022

  1. Update API dumps

    Done by running `./gradlew apiDump`.
    sschuberth committed Jan 19, 2022
    Configuration menu
    Copy the full SHA
    dc8e2d6 View commit details
    Browse the repository at this point in the history