circular references are detected for types with custom serializer
See original GitHub issueGiven complex type containing circular reference and custom serializer for that type IExtendedXmlCustomSerializer<MyType>
, you get an exception that circular references are detected.
I belive types with custom serializer implemented should not be checked for references.
Issue Analytics
- State:
- Created 4 years ago
- Comments:13 (8 by maintainers)
Top Results From Across the Web
A circular reference was detected while serializing an ...
It seems that there are circular references in your object hierarchy which is not supported by the JSON serializer.
Read more >Circular references in JSONSerializer and StackOverflow ...
We do have a TypeSerializer.HasCircularReferences(object) you can use to detect circular references as well as a ToSafeJson() which ...
Read more >How to preserve references in System.Text.Json
This article shows how to preserve references and handle or ignore circular references while using System.Text.Json to serialize and ...
Read more >JavaScriptSerializer: Circular Reference was Detected While ...
A circular reference was detected while serializing an object of type 'System.Data.Entity.DynamicProxies.OperationDefinition_12123132123....'.
Read more >A circular reference was detected while serializing an ...
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Okey @Mike-EEE, I got it working. Please look at it and tell me what you think 😃
https://github.com/ExtendedXmlSerializer/home/pull/363
OK! I got this shipped out for you, @aspektxxx … thanks again for your patience and contributions here. They are very much appreciated in light of my limited time of late. Also, I got you in the release notes and CHANGELOG. 👍
3.1.1 can be found here: https://www.nuget.org/packages/ExtendedXmlSerializer/