-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Commits on Feb 23, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 9b2d343 - Browse repository at this point
Copy the full SHA 9b2d343View commit details -
Configuration menu - View commit details
-
Copy full SHA for fe6dd37 - Browse repository at this point
Copy the full SHA fe6dd37View commit details -
Feat #2: JsonReader does not read (partially) capitalized keywords if…
… strict mode is used
Configuration menu - View commit details
-
Copy full SHA for a78764a - Browse repository at this point
Copy the full SHA a78764aView commit details
Commits on Feb 24, 2023
-
Feat #3: Added implementation and tests for JSONReader not accepting …
…specific escape sequence representing in strict mode
Configuration menu - View commit details
-
Copy full SHA for 4895e8f - Browse repository at this point
Copy the full SHA 4895e8fView commit details -
Configuration menu - View commit details
-
Copy full SHA for fd3f757 - Browse repository at this point
Copy the full SHA fd3f757View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0c28e0b - Browse repository at this point
Copy the full SHA 0c28e0bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 947a312 - Browse repository at this point
Copy the full SHA 947a312View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0f57cc9 - Browse repository at this point
Copy the full SHA 0f57cc9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 695159b - Browse repository at this point
Copy the full SHA 695159bView commit details -
Configuration menu - View commit details
-
Copy full SHA for bda7321 - Browse repository at this point
Copy the full SHA bda7321View commit details -
Configuration menu - View commit details
-
Copy full SHA for d438cbd - Browse repository at this point
Copy the full SHA d438cbdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 23897d2 - Browse repository at this point
Copy the full SHA 23897d2View commit details -
Merge remote-tracking branch 'origin/master'
# Conflicts: # gson/src/test/java/com/google/gson/stream/JsonReaderTest.java
Configuration menu - View commit details
-
Copy full SHA for 26463e7 - Browse repository at this point
Copy the full SHA 26463e7View commit details
Commits on Feb 26, 2023
-
Feat #13: Change leniency API to Strictness enum in JsonReader, Gson,…
… and GsonBuilder
Configuration menu - View commit details
-
Copy full SHA for d3950fa - Browse repository at this point
Copy the full SHA d3950faView commit details
Commits on Feb 27, 2023
-
Configuration menu - View commit details
-
Copy full SHA for c303c61 - Browse repository at this point
Copy the full SHA c303c61View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2b55804 - Browse repository at this point
Copy the full SHA 2b55804View commit details -
Configuration menu - View commit details
-
Copy full SHA for d2a792b - Browse repository at this point
Copy the full SHA d2a792bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0cd64da - Browse repository at this point
Copy the full SHA 0cd64daView commit details -
refactor #12: Resolved importing wildcards, made some lines adhere to…
… Google java style
Configuration menu - View commit details
-
Copy full SHA for f2abd89 - Browse repository at this point
Copy the full SHA f2abd89View commit details -
#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>
Configuration menu - View commit details
-
Copy full SHA for d506d00 - Browse repository at this point
Copy the full SHA d506d00View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7319777 - Browse repository at this point
Copy the full SHA 7319777View commit details -
Configuration menu - View commit details
-
Copy full SHA for b29baa0 - Browse repository at this point
Copy the full SHA b29baa0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0af517b - Browse repository at this point
Copy the full SHA 0af517bView commit details -
Configuration menu - View commit details
-
Copy full SHA for e44d1c3 - Browse repository at this point
Copy the full SHA e44d1c3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 15d7db6 - Browse repository at this point
Copy the full SHA 15d7db6View commit details
Commits on Feb 28, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 75f9c8c - Browse repository at this point
Copy the full SHA 75f9c8cView commit details -
Refactor #35: Refactor JsonReader#peekKeyword to reduce the amount of…
… strictness checks (#39)
Configuration menu - View commit details
-
Copy full SHA for a0a6c36 - Browse repository at this point
Copy the full SHA a0a6c36View commit details
Commits on Mar 1, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 77dff43 - Browse repository at this point
Copy the full SHA 77dff43View commit details -
Configuration menu - View commit details
-
Copy full SHA for 664bf1c - Browse repository at this point
Copy the full SHA 664bf1cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5e64e3c - Browse repository at this point
Copy the full SHA 5e64e3cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0d65c62 - Browse repository at this point
Copy the full SHA 0d65c62View commit details
Commits on Mar 2, 2023
-
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>
Configuration menu - View commit details
-
Copy full SHA for 2b812f1 - Browse repository at this point
Copy the full SHA 2b812f1View commit details
Commits on Mar 3, 2023
-
Configuration menu - View commit details
-
Copy full SHA for d7fff3b - Browse repository at this point
Copy the full SHA d7fff3bView commit details -
Feat #45: Change Gson.fromJson and Gson.toJson to be strict when the …
…provided writer/reader is strict
Configuration menu - View commit details
-
Copy full SHA for a821062 - Browse repository at this point
Copy the full SHA a821062View commit details -
Configuration menu - View commit details
-
Copy full SHA for ce04ac0 - Browse repository at this point
Copy the full SHA ce04ac0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7f7586d - Browse repository at this point
Copy the full SHA 7f7586dView commit details
Commits on Mar 7, 2023
-
Update gson/src/test/java/com/google/gson/stream/JsonReaderTest.java
Co-authored-by: Marcono1234 <Marcono1234@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for c0df07c - Browse repository at this point
Copy the full SHA c0df07cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8b63f54 - Browse repository at this point
Copy the full SHA 8b63f54View commit details -
Update gson/src/main/java/com/google/gson/GsonBuilder.java
Co-authored-by: Marcono1234 <Marcono1234@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for eaa0ed5 - Browse repository at this point
Copy the full SHA eaa0ed5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6a27a65 - Browse repository at this point
Copy the full SHA 6a27a65View commit details -
Configuration menu - View commit details
-
Copy full SHA for 79295c8 - Browse repository at this point
Copy the full SHA 79295c8View commit details -
Configuration menu - View commit details
-
Copy full SHA for d0a4065 - Browse repository at this point
Copy the full SHA d0a4065View commit details
Commits on Apr 18, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 8453738 - Browse repository at this point
Copy the full SHA 8453738View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8593b57 - Browse repository at this point
Copy the full SHA 8593b57View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9a7f33a - Browse repository at this point
Copy the full SHA 9a7f33aView commit details
Commits on Apr 19, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 4d0ea89 - Browse repository at this point
Copy the full SHA 4d0ea89View commit details -
Configuration menu - View commit details
-
Copy full SHA for be59dd6 - Browse repository at this point
Copy the full SHA be59dd6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 48bf90c - Browse repository at this point
Copy the full SHA 48bf90cView commit details
Commits on May 13, 2023
-
Configuration menu - View commit details
-
Copy full SHA for caaad5b - Browse repository at this point
Copy the full SHA caaad5bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 39cd9a0 - Browse repository at this point
Copy the full SHA 39cd9a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4342ef8 - Browse repository at this point
Copy the full SHA 4342ef8View commit details