Skip to content

Commit

Permalink
yyjson 0eca326, recursion limit
Browse files Browse the repository at this point in the history
  • Loading branch information
ijl committed Feb 22, 2024
1 parent f1db385 commit f7438f3
Show file tree
Hide file tree
Showing 5 changed files with 425 additions and 99 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -625,6 +625,9 @@ It raises `JSONDecodeError` if given an invalid type or invalid
JSON. This includes if the input contains `NaN`, `Infinity`, or `-Infinity`,
which the standard library allows, but is not valid JSON.

It raises `JSONDecodeError` if a combination of array or object recurses
1024 levels deep.

`JSONDecodeError` is a subclass of `json.JSONDecodeError` and `ValueError`.
This is for compatibility with the standard library.

Expand Down
Loading

0 comments on commit f7438f3

Please sign in to comment.