type pathNode … // match climbs the trie to find a node that matches the given JSON path. func (n *pathNode) match(path JsonPath) *pathNode { … } type PathActions … type DecodeAction … // Add specifies an action to call on the Decoder when the specified path is encountered. func (je *PathActions) Add(action DecodeAction, path ...interface{ … }