go-yaml / yaml

YAML support for the Go language.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature request: Find and get information of a Node based on yaml path

pantelis-karamolegkos opened this issue · comments

It would be convenient if the library offered a functionality of getting information about a Node based on its path.

More or less like this example.

I think (perhaps I am missing something) in order to do this now you have to recursively search the Node tree starting from the root node?