Uh oh!
There was an error while loading. Please reload this page.
Add JsonSerializerOptions.Default - #61434
Conversation
ghost
commented
Nov 10, 2021
Note regarding the This serves as a reminder for when your PR is modifying a ref *.cs file and adding/modifying public APIs, to please make sure the API implementation in the src *.cs file is documented with triple slash comments, so the PR reviewers can sign off that change. |
ghost
commented
Nov 10, 2021
Tagging subscribers to this area: @dotnet/area-system-text-json |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
| /// Gets a read-only, singleton instance of <see cref="JsonSerializerOptions" /> that uses the default configuration. | ||
| /// </summary> | ||
| /// <remarks> | ||
| /// Each <see cref="JsonSerializerOptions" /> instance encapsulates its own converter cache, |
There was a problem hiding this comment.
I don't think we need to be specific on "converter cache". Just "caches". It's not just converters, all of the JsonTypeInfo info is cached (properties, constructors, converters).
There was a problem hiding this comment.
Changed, although one could argue that JsonTypeInfo is just implementation detail for object converters. But I agree it should best be kept vague.
steveharter
left a comment
There was a problem hiding this comment.
Misc comment on doc, otherwise LGTM
deeprobin
left a comment
There was a problem hiding this comment.
Some style suggestions, but LGTM 😄 👍🏼
Good work!
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
ac06d13 to
d0e1b13Compare
Fix#61093.