You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
StringUtils.ToSnakeCase (used by SnakeCaseNamingStrategy) fails to correctly snake case several common scenarios.
There's plenty more examples when using unicode characters (due to a lack of unicode support), and non-alphanumeric characters, though I'm unsure whether that's by design so have only included examples using ASCII letters and digits.
Steps to reproduce
Add the tests below to Newtonsoft.Json.Tests.Utilities.ToSnakeCaseTest. Observe the output (seen in the comments) is different to expected.
StringUtils.ToSnakeCase (used by SnakeCaseNamingStrategy) fails to correctly snake case several common scenarios.
There's plenty more examples when using unicode characters (due to a lack of unicode support), and non-alphanumeric characters, though I'm unsure whether that's by design so have only included examples using ASCII letters and digits.
Steps to reproduce
Add the tests below to Newtonsoft.Json.Tests.Utilities.ToSnakeCaseTest. Observe the output (seen in the comments) is different to expected.
The text was updated successfully, but these errors were encountered: