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

Strict mode for JSON parsing #2323

Merged
merged 51 commits into from May 30, 2023
Merged

Commits on Feb 23, 2023

  1. Configuration menu
    Copy the full SHA
    9b2d343 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fe6dd37 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a78764a View commit details
    Browse the repository at this point in the history

Commits on Feb 24, 2023

  1. Feat #3: Added implementation and tests for JSONReader not accepting …

    …specific escape sequence representing in strict mode
    Carl Peterson authored and marten-voorberg committed Feb 24, 2023
    Configuration menu
    Copy the full SHA
    4895e8f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fd3f757 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0c28e0b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    947a312 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    0f57cc9 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    695159b View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    bda7321 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    d438cbd View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    23897d2 View commit details
    Browse the repository at this point in the history
  10. Merge remote-tracking branch 'origin/master'

    # Conflicts:
    #	gson/src/test/java/com/google/gson/stream/JsonReaderTest.java
    marten-voorberg committed Feb 24, 2023
    Configuration menu
    Copy the full SHA
    26463e7 View commit details
    Browse the repository at this point in the history

Commits on Feb 26, 2023

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

Commits on Feb 27, 2023

  1. Configuration menu
    Copy the full SHA
    c303c61 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2b55804 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d2a792b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0cd64da View commit details
    Browse the repository at this point in the history
  5. refactor #12: Resolved importing wildcards, made some lines adhere to…

    … Google java style
    gustajoh authored and marten-voorberg committed Feb 27, 2023
    Configuration menu
    Copy the full SHA
    f2abd89 View commit details
    Browse the repository at this point in the history
  6. #5 Add test case for unescaped control characters

    * Feat #5: add new lines to make JsonReader able to detect unescaped control characters (U+0000 through U+001F) and throw exceptions.
    
    * Feat #5: add new lines to make JsonReader able to detect unescaped control characters (U+0000 through U+001F) and throw exceptions.
    
    * Test #11: Added two tests for testing implementation of control character handling in strict mode and moved the implementation to nextQuotedValue
    
    * Test #11: Added two tests for testing implementation of control character handling in strict mode and moved the implementation to nextQuotedValue
    
    ---------
    
    Co-authored-by: LMC117 <2295699210@qq.com>
    Co-authored-by: Marten Voorberg <martenvoorberg@gmail.com>
    3 people committed Feb 27, 2023
    Configuration menu
    Copy the full SHA
    d506d00 View commit details
    Browse the repository at this point in the history
  7. Doc #17: Add and change javadoc of public methods

    * Doc #17: Update JavaDoc in JsonReader and Strictness
    
    * Doc #17: Update JavaDoc in Gson and GsonBuilder
    marten-voorberg committed Feb 27, 2023
    Configuration menu
    Copy the full SHA
    7319777 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    b29baa0 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    0af517b View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    e44d1c3 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    15d7db6 View commit details
    Browse the repository at this point in the history

Commits on Feb 28, 2023

  1. #37: Resolve more PR feedback

    * Fix #37: Resolve various PR comments
    
    * Fix #37: Resolve various PR comments
    marten-voorberg committed Feb 28, 2023
    Configuration menu
    Copy the full SHA
    75f9c8c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a0a6c36 View commit details
    Browse the repository at this point in the history

Commits on Mar 1, 2023

  1. Configuration menu
    Copy the full SHA
    77dff43 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    664bf1c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5e64e3c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0d65c62 View commit details
    Browse the repository at this point in the history

Commits on Mar 2, 2023

  1. Test #43: Changed tests to make use of assertThrows

    * test #43: Changed tests to make use of assertThrows as per feedback
    
    * Test #43: Update JsonWriterTest#testStrictnessNull to use assertThrows
    
    * Test #43: Update JsonWriterTest#testStrictnessNull to use assertThrows
    
    * test #43: Resolve PR recommendations
    
    * Test #43: Mini change to TC
    
    * Test #43: Mini change to TC
    
    ---------
    
    Co-authored-by: Marten Voorberg <martenvoorberg@gmail.com>
    gustajoh and marten-voorberg committed Mar 2, 2023
    Configuration menu
    Copy the full SHA
    2b812f1 View commit details
    Browse the repository at this point in the history

Commits on Mar 3, 2023

  1. Configuration menu
    Copy the full SHA
    d7fff3b View commit details
    Browse the repository at this point in the history
  2. Feat #45: Change Gson.fromJson and Gson.toJson to be strict when the …

    …provided writer/reader is strict
    marten-voorberg committed Mar 3, 2023
    Configuration menu
    Copy the full SHA
    a821062 View commit details
    Browse the repository at this point in the history
  3. Fix #45: Small type

    marten-voorberg committed Mar 3, 2023
    Configuration menu
    Copy the full SHA
    ce04ac0 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7f7586d View commit details
    Browse the repository at this point in the history

Commits on Mar 7, 2023

  1. Update gson/src/test/java/com/google/gson/stream/JsonReaderTest.java

    Co-authored-by: Marcono1234 <Marcono1234@users.noreply.github.com>
    marten-voorberg and Marcono1234 committed Mar 7, 2023
    Configuration menu
    Copy the full SHA
    c0df07c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8b63f54 View commit details
    Browse the repository at this point in the history
  3. Update gson/src/main/java/com/google/gson/GsonBuilder.java

    Co-authored-by: Marcono1234 <Marcono1234@users.noreply.github.com>
    marten-voorberg and Marcono1234 committed Mar 7, 2023
    Configuration menu
    Copy the full SHA
    eaa0ed5 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6a27a65 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    79295c8 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    d0a4065 View commit details
    Browse the repository at this point in the history

Commits on Apr 18, 2023

  1. Strictness mode follow-up

    Marcono1234 authored and marten-voorberg committed Apr 18, 2023
    Configuration menu
    Copy the full SHA
    8453738 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8593b57 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9a7f33a View commit details
    Browse the repository at this point in the history

Commits on Apr 19, 2023

  1. Configuration menu
    Copy the full SHA
    4d0ea89 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    be59dd6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    48bf90c View commit details
    Browse the repository at this point in the history

Commits on May 13, 2023

  1. Configuration menu
    Copy the full SHA
    caaad5b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    39cd9a0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4342ef8 View commit details
    Browse the repository at this point in the history