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

fix: json string serializer improperly escaping characters (#6005) #6133

Merged
merged 1 commit into from Oct 20, 2023

Commits on Oct 20, 2023

  1. fix: json string serializer improperly escaping characters (transmiss…

    …ion#6005)
    
    * feat: escape json string according to RFC8259
    
    * fix: do not append newline when json serde is in compact mode
    
    * fix: json tests
    
    1. Use the same locale settings as the apps
    2. Added additional test case for a string that are known to be prone to locale issues
    3. Removed test for escaping non-BMP characters to UTF-16 escape sequences
    
    * chore: add more test cases to `JSONTest.testUtf8`
    
    * chore: order cases in the same order as RFC8259
    
    (cherry picked from commit 0259edb)
    tearfur committed Oct 20, 2023
    Configuration menu
    Copy the full SHA
    1e1ecf8 View commit details
    Browse the repository at this point in the history