You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Missing any explanation on how to respect the ReferenceResolver in use when ReferenceHandler.Preserve has been used, and your converter is called on a child in the object graph being serialized or deserialized. The converter examples you provide only work when no references are being maintained. Please provide some guidance. Can you even get a reference to the ReferenceResolver in use? Calling ReferenceHandler.CreateResolver throws an exception (It's already been created earlier in the graph being serialized). Is this a documentation problem or a feature issue?
Type of issue
Typo
Description
Missing any explanation on how to respect the ReferenceResolver in use when ReferenceHandler.Preserve has been used, and your converter is called on a child in the object graph being serialized or deserialized. The converter examples you provide only work when no references are being maintained. Please provide some guidance. Can you even get a reference to the ReferenceResolver in use? Calling ReferenceHandler.CreateResolver throws an exception (It's already been created earlier in the graph being serialized). Is this a documentation problem or a feature issue?
Page URL
https://learn.microsoft.com/en-us/dotnet/standard/serialization/system-text-json/converters-how-to
Content source URL
https://github.com/dotnet/docs/blob/main/docs/standard/serialization/system-text-json/converters-how-to.md
Document Version Independent Id
678c4f23-764a-7ccd-0d6d-159a30957477
Article author
@gewarren
Metadata
Related Issues
The text was updated successfully, but these errors were encountered: