Protect JSONML from stack overflow exceptions caused by recursion by TamasPergerDWP · Pull Request #723 · stleary/JSON-java

What problem does this code solve?
JSONML should have the same StackOverflow protection as XML.

Risks
Low

Changes to the API?
Some new API methods were added for those who don't want to use the default nesting depth.

Will this require a new release?
Yes

Should the documentation be updated?
No

Does it break the unit tests?
No

Was any code refactored in this commit?
Future refactoring will unite the parserconfig classes in a class hierarchy of some sort.

Review status
APPROVED