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

Add nesting limit for JsonReader #2588

Merged
merged 12 commits into from
Jul 19, 2024

Commits on Oct 3, 2023

  1. Add nesting limit for JsonReader

    For now don't expose this as additional GsonBuilder method assuming that
    the default nesting limit is high enough for most users. Otherwise users
    can first obtain a JsonReader from `Gson.newJsonReader` and then set a
    custom nesting limit.
    Marcono1234 committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    db74b34 View commit details
    Browse the repository at this point in the history
  2. Ignore nesting limit for JsonTreeReader

    See comment in JsonTreeReaderTest for the rationale
    Marcono1234 committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    51a41c8 View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2023

  1. Configuration menu
    Copy the full SHA
    f58e0c1 View commit details
    Browse the repository at this point in the history

Commits on Nov 19, 2023

  1. Merge branch 'main' into marcono1234/nesting-limit

    # Conflicts:
    #	gson/src/main/java/com/google/gson/stream/JsonReader.java
    #	gson/src/test/java/com/google/gson/internal/bind/JsonTreeReaderTest.java
    Marcono1234 committed Nov 19, 2023
    Configuration menu
    Copy the full SHA
    02c04d0 View commit details
    Browse the repository at this point in the history
  2. Fix formatting

    Marcono1234 committed Nov 19, 2023
    Configuration menu
    Copy the full SHA
    c4d2877 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cb7bdd9 View commit details
    Browse the repository at this point in the history

Commits on Dec 27, 2023

  1. Configuration menu
    Copy the full SHA
    41d2b34 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8e84a95 View commit details
    Browse the repository at this point in the history

Commits on Feb 7, 2024

  1. Configuration menu
    Copy the full SHA
    8137c01 View commit details
    Browse the repository at this point in the history

Commits on Feb 29, 2024

  1. Configuration menu
    Copy the full SHA
    719f253 View commit details
    Browse the repository at this point in the history

Commits on Jun 23, 2024

  1. Configuration menu
    Copy the full SHA
    ecae000 View commit details
    Browse the repository at this point in the history

Commits on Jul 13, 2024

  1. Configuration menu
    Copy the full SHA
    af8bf60 View commit details
    Browse the repository at this point in the history