-
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
14 control flow characters not in 0x0000 0x001f #2329
Closed
ajama248
wants to merge
15
commits into
google:master
from
marten-voorberg:14-control-flow-characters-not-in-0x0000-0x001f
Closed
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
9b2d343
Feat #6: Add strict flag to Gson and GsonBuilder
marten-voorberg fe6dd37
Test #2: Add failing tests for capitalized keywords
marten-voorberg a78764a
Feat #2: JsonReader does not read (partially) capitalized keywords if…
marten-voorberg 4895e8f
Feat #3: Added implementation and tests for JSONReader not accepting …
fd3f757
Test #3: Simplify test cases by removing unnecessary array
marten-voorberg 0c28e0b
Feat #3: Improve error by including the illegal character
marten-voorberg 947a312
Feat #5: JsonReader does not allow unespaced control flow characters …
marten-voorberg 0f57cc9
Test #5: Test unespaced control flow characters in strict mode
marten-voorberg 695159b
Feat #4: Disallow espaced newline character in strict mode
marten-voorberg bda7321
Test #4: Add tests for (dis)allowing newline character depensding on …
marten-voorberg d438cbd
Test #5: Test case for unescaped control char in non-strict mode
marten-voorberg 23897d2
Test #2: Simplify test cases
marten-voorberg 26463e7
Merge remote-tracking branch 'origin/master'
marten-voorberg d3950fa
Feat #13: Change leniency API to Strictness enum in JsonReader, Gson,…
marten-voorberg 4f6c4e0
Test #14: Add test for lineterminators and unlisted control character…
ajama248 File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package com.google.gson; | ||
|
||
public enum Strictness { | ||
LENIENT, | ||
DEFAULT, | ||
STRICT | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The build fails because there is a whitespace between
@
andlinkplain
.Should be:
@linkplain ...