allPaths returns a slice of new JSON documents, each a path to a leaf through the receiver. Note that leaves include the empty object and array in addition to scalars.
()
| 83 | // through the receiver. Note that leaves include the empty object and array |
| 84 | // in addition to scalars. |
| 85 | allPaths() ([]JSON, error) |
| 86 | |
| 87 | // FetchValKey implements the `->` operator for strings, returning nil if the |
| 88 | // key is not found. |