Skip to content

Implement well-formed JSON.stringify#6206

Merged
chakrabot merged 1 commit into
chakra-core:masterfrom
boingoing:wellformedjson
Jul 22, 2019
Merged

Implement well-formed JSON.stringify#6206
chakrabot merged 1 commit into
chakra-core:masterfrom
boingoing:wellformedjson

Conversation

@boingoing
Copy link
Copy Markdown
Contributor

The change to the spec makes unpaired surrogate code units serialize to their escape sequences instead of bad characters.

This is now in stage 4.

Fixes #5735

@MikeHolman
Copy link
Copy Markdown
Contributor

Can you check perf of JSON tests in kraken? This adds 2 branches into a tight loop so I'm a little concerned that it will cause regressions.

@boingoing
Copy link
Copy Markdown
Contributor Author

@MikeHolman I had the same concern but it doesn't look like json-stringify-tinderbox.js or json-parse-financial.js in kraken are affected by the change.

The change to the spec makes unpaired surrogate code units serialize to their escape sequences instead of bad characters.

This is now in stage 4.

Fixes chakra-core#5735
@chakrabot chakrabot merged commit 8d4374c into chakra-core:master Jul 22, 2019
chakrabot pushed a commit that referenced this pull request Jul 22, 2019
Merge pull request #6206 from boingoing:wellformedjson

The change to the spec makes unpaired surrogate code units serialize to their escape sequences instead of bad characters.

This is now in stage 4.

Fixes #5735
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement well-formed JSON.stringify proposal

4 participants