mgholam / fastJSON

Smallest, fastest polymorphic JSON serializer
https://www.codeproject.com/Articles/159450/fastJSON-Smallest-Fastest-Polymorphic-JSON-Seriali
MIT License
478 stars 148 forks source link

Maximum depth problem #141

Closed frankinstien111 closed 8 months ago

frankinstien111 commented 1 year ago

I'm getting: "Serializer encountered maximum depth of 20 at fastJSON.JSONSerializer.WriteObject(Object obj) in C:\Users\Frank\source\repos\fastJSON\fastJSON\JsonSerializer.cs:line 468"

Can the depth be increased without problems?

mgholam commented 1 year ago

Try and see, reaching a max depth could indicate a recursion loop or you have a deeply nested structure.