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
Maybe there should be an arg to set the max recursion or check circular reference as built-in json library does
The text was updated successfully, but these errors were encountered:
cscps
changed the title
Maximum recursion level reached when two object reference each other
Maximum recursion level reached when circular reference
Apr 14, 2017
Removed generic serialization of objects/iterables
The behavior of ujson has always been to try to serialize all objects in
any way possible. This has been quite a deviation from other json
libraries, including Pythons standard json module, and the source of a
lot of confusion and bugs. Removing this quirk moves ultrajson closer to
the expected behavior.
Instead of trying to coerce serialization ultrajson will now throw a
TypeError: "repr(obj) is not JSON serializable" exception.
Maybe there should be an arg to set the max recursion or check circular reference as built-in json library does
The text was updated successfully, but these errors were encountered: