Len returns the number of outermost elements in the JSON document if it is an object or an array. Otherwise, Len returns 0.
()
| 170 | // Len returns the number of outermost elements in the JSON document if it is an object or an array. |
| 171 | // Otherwise, Len returns 0. |
| 172 | Len() int |
| 173 | |
| 174 | // HasContainerLeaf returns whether this document contains in it somewhere |
| 175 | // either the empty array or the empty object. |
no outgoing calls