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

Improve JsonReader.skipValue() #2062

Commits on Jan 23, 2022

  1. Fix JsonReader.skipValue() not behaving properly at end of document

    JsonReader implementation erroneously reset `peeked` to PEEKED_NONE;
    JsonTreeReader threw ArrayIndexOutOfBoundsException.
    Marcono1234 committed Jan 23, 2022
    Copy the full SHA
    d3c584b View commit details
    Browse the repository at this point in the history
  2. Fix JsonReader.skipValue() not behaving properly at end of array and …

    …object
    
    For JsonReader this caused an IllegalStateException (in the past it caused
    JsonReader to get stuck in an infinite loop); for JsonTreeReader it only
    popped the empty iterator but not the JsonArray or JsonObject, which caused
    peek() to again report END_ARRAY or END_OBJECT.
    Marcono1234 committed Jan 23, 2022
    Copy the full SHA
    08e614d View commit details
    Browse the repository at this point in the history
  3. Only have JsonReader.skipValue() overwrite path name when name was sk…

    …ipped
    
    This improves the JSON path when the value for a property was skipped and
    before the subsequent property (or the end of the object) getPath() is called.
    Marcono1234 committed Jan 23, 2022
    Copy the full SHA
    98f6246 View commit details
    Browse the repository at this point in the history

Commits on Jan 28, 2022

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

Commits on Sep 9, 2022

  1. Copy the full SHA
    242a1aa View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2022

  1. Copy the full SHA
    873aa6a View commit details
    Browse the repository at this point in the history

Commits on Sep 14, 2022

  1. Copy the full SHA
    9291d3c View commit details
    Browse the repository at this point in the history

Commits on Oct 8, 2022

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