set_max_depth


Description:

[ Version ( since = "2.1.1" ) ]
public void set_max_depth (uint max_depth)

Sets the maximum nesting depth.

The default maximum depth is g_maxuint16, but users of JsonParser should use this function to set a better limit.

Parameters:

this

a JsonParser

max_depth

max nesting depth