forked from dotnet/runtime
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rework SnakeCase/KebabCase naming policies to closer match Json.NET's (…
…dotnet#90316) * Rework JsonNamingPolicy.SnakeCase/KebabCase to match Json.NET semantics. * Alternative implementation that handles digits properly but doesn't trim non-alphanumeric characters. * Refactor to switch statement * add non-ascii letter test case * Address feedback * Add support for surrogate pair capitalization * Revert "Add support for surrogate pair capitalization" This reverts commit c1c5d1c. * Add surrogate pair unit tests * Address more feedback * Address feedback and add a few more test cases. * Add more surrogate pair tests * Add unpaired surrogate testing
- Loading branch information
1 parent
3aec142
commit c6db89c
Showing
2 changed files
with
468 additions
and
321 deletions.
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
Oops, something went wrong.