yamlpath 1.24.1

Format-preserving YAML feature extraction
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
testcase:
  foo:
    bar:
      baz: hello!

  emptykey:

queries:
  - query: [foo, bar, baz]
    expected: |2-
            baz: hello!

  - query: [foo, bar]
    expected: |2-
          bar:
            baz: hello!
  - query: [emptykey]
    expected: "  emptykey:"