8000 Replace fmt with rapidjson in tracing.cc by jez · Pull Request #2855 · sorbet/sorbet · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Replace fmt with rapidjson in tracing.cc #2855

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

Merged
merged 2 commits into from
Apr 7, 2020
Merged

Replace fmt with rapidjson in tracing.cc #2855

merged 2 commits into from
Apr 7, 2020

Conversation

jez
Copy link
Collaborator
@jez jez commented Apr 7, 2020

Motivation

This ensures that all of the JSON is properly escaped, even in the presence
of UTF-8 non-ASCII characters in the strings.

Test plan

See included automated tests.

jez added 2 commits April 7, 2020 13:35
This ensures that all of the JSON is properly escaped, even in the
presence of UTF-8 non-ASCII characters in the strings.
@jez jez requested a review from a team as a code owner April 7, 2020 20:38
@jez jez requested review from DarkDimius and removed request for a team April 7, 2020 20:38
# We used to essentially have something like this at Stripe,
# and it would crash us when trying to serialize a web trace file
# (because the method name was in one of the args)
it '’' do
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jez jez requested review from elliottt and removed request for DarkDimius April 7, 2020 20:49
@jez jez merged commit 58c504e into master Apr 7, 2020
@jez jez deleted the jez-tracing branch April 7, 2020 21:59
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.

2 participants
0