jcrist / msgspec

A fast serialization and validation library, with builtin support for JSON, MessagePack, YAML, and TOML
https://jcristharif.com/msgspec/
BSD 3-Clause "New" or "Revised" License
2.01k stars 59 forks source link

Add tests for encoding/decoding highly recursive messages #646

Closed jcrist closed 4 months ago

jcrist commented 4 months ago

This adds a test case found in the orjson repo to ensure that we properly respect recursion limits when encoding or decoding deeply recursive messages.

No code change is needed at this time, we properly manage recursion limits already.