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

enable WRITE_NAN_AS_STRINGS by default #1169

Merged
merged 1 commit into from
May 1, 2020

Conversation

brharrington
Copy link
Contributor

Historically some endpoints wrote the special double values
without quotes to make it clear they were numeric. However,
that creates problems with tools using standard JSON parsing
libraries. New uses should always emit standard JSON so this
change updates the default so these values are quoted.

The encoding for the legacy json format on the graph API
still emits data without the quotes for backwards compatibility.

Historically some endpoints wrote the special double values
without quotes to make it clear they were numeric. However,
that creates problems with tools using standard JSON parsing
libraries. New uses should always emit standard JSON so this
change updates the default so these values are quoted.

The encoding for the legacy `json` format on the graph API
still emits data without the quotes for backwards compatibility.
@brharrington brharrington added this to the 1.7.0 milestone May 1, 2020
@brharrington brharrington requested a review from jfz May 1, 2020 20:11
@brharrington brharrington merged commit 7f10ff2 into Netflix:master May 1, 2020
@brharrington brharrington deleted the json-nan branch May 1, 2020 22:48
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