-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Consider adding Utf8JsonWriter support for writing raw property names #54005
Comments
Tagging subscribers to this area: @eiriktsarpalis, @layomia Issue Details#1784 discusses writing raw property values when using From @Tornhoof in #1784 (comment):
|
Author: | layomia |
---|---|
Assignees: | - |
Labels: |
|
Milestone: | 6.0.0 |
This is currently a blocker for us as we rely heavily in places on the JSON.Net JsonTextWriter QuoteName property, where we set the value to false to output serialized objects directly for usage within javascript on a page. |
#1784 discusses writing raw JSON values when using
Utf8JsonWriter
. We can build on top that to support writing raw property names. This could be useful when pre-generating JSON serialization logic and we know the runtime property names ahead of time.From @Tornhoof in #1784 (comment):
Benchmarks (also from #1784 (comment))
The text was updated successfully, but these errors were encountered: