allPathsWithDepth returns a slice of new JSON documents, each a path through the receiver. The depth parameter specifies the maximum depth of the paths to return. If the depth is negative, all paths of any depth are returned. If the depth is 0, the receiver itself is returned. Note that leaves inclu
(depth int)
| 144 | // returned. If the depth is 0, the receiver itself is returned. Note that |
| 145 | // leaves include the empty object and array in addition to scalars. |
| 146 | allPathsWithDepth(depth int) ([]JSON, error) |
| 147 | |
| 148 | // FetchValKey implements the `->` operator for strings, returning nil if the |
| 149 | // key is not found. |
no outgoing calls
no test coverage detected