maxTraversalDepth constant

int const maxTraversalDepth

Prevents recursive JSON-like helpers from overflowing the stack on malicious or accidentally over-nested input.

Implementation

static const int maxTraversalDepth = 1024;