MaxDepth controls the maximum number of levels to descend into nested data structures. The default, 0, means there is no limit.

NOTE: Circular data structures are properly detected, so it is not necessary to set this value unless you specifically want to limit deeply nested data structures.

MaxDepth is referenced in 6 repositories



	MaxDepth int