[dotnet] Move JSON converter attributes from centralized options into their respective types #16393
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
User description
This enables cross-module use of these types, as well as {de}serialization by users.
PR Type
Enhancement
Description
Move JSON converter attributes from centralized Broker to individual types
Enable cross-module serialization and user-facing deserialization
Add JsonConverter attributes to 20+ BiDi types
Remove converter registrations from centralized options
Diagram Walkthrough
File Walkthrough
20 files
Add JsonConverter attribute to ClientWindow
Add JsonConverter to GetClientWindowsResult
Add JsonConverter to GetUserContextsResult
Add JsonConverter to DownloadEndEventArgs
Add JsonConverter to GetTreeResult
Add JsonConverter to LocateNodesResult
Add JsonConverter attribute to Navigation
Add JsonConverter to PrintPageRange
Remove centralized JSON converter registrations
Add JsonConverter attribute to Origin
Add JsonConverter to SourceActions
Add JsonConverter attribute to LogEntry
Add JsonConverter attribute to Request
Add JsonConverter attribute to Channel
Add JsonConverter to EvaluateResult
Add JsonConverter to GetRealmsResult
Add JsonConverter attribute to RealmInfo
Add JsonConverter to RemoteValue
Add JsonConverter attribute to Subscription
Add JsonConverter to GetCookiesResult