find


Description:

public Node? find (string path, Node? context = null)

find a specific child Yaml.Node corresponding to path definition path definition has two mode. default mode is Yaml.FIND_MODE.DOT - child mapping node are separated by dot : - sequence entry must be enclosed in curly brace ex : grandfather.father.son{2}.age

other mode is Yaml.FIND_MODE.DOTSQUARE_BRACKETS - node's key name must be enclosed in square brackets - sequence entry must be enclosed in curly brace ex : [grandfather][father][son]{2}[age]

Parameters:

path

the definition to retriew the child node

context

the Yaml.Node context to operate