SetMaxRecursionDepth sets the maximum recursion depth.
(d int)
| 226 | |
| 227 | // SetMaxRecursionDepth sets the maximum recursion depth. |
| 228 | func (m *Reader) SetMaxRecursionDepth(d int) { |
| 229 | m.maxRecursionDepth = d |
| 230 | } |
| 231 | |
| 232 | // GetMaxRecursionDepth returns the maximum recursion depth. |
| 233 | // Set to 0 to use the default value of 100000. |