Vishal Basumatary

JsonException: A possible object cycle was detected. This can either be due to a cycle or if the object depth is larger than the maximum allowed depth of 32. Consider using ReferenceHandler.Preserve on JsonSerializerOptions to support cycles.

JsonException: A possible object cycle was detected Have you ever encountered the JsonException error message while working with JSON serialization? It can be caused by a cycle in the object graph or if the object depth is larger than the maximum allowed depth of 32. Object Cycle in JSON Serialization
1 min read

Subscribe to The Poor Coder | Algorithm Solutions

Don’t miss out on the latest issues. Sign up now to get access to the library of members-only issues.
[email protected]
Subscribe