how to get all "leaves"? #2146
Unanswered
minhtrancccp
asked this question in
Q&A
Replies: 1 comment
-
You can do it by matching all the nodes, then filtering to only include scalar values:
This will not include empty maps and arrays. If you wanted to include those:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
here's my yaml file:
how can i get the leaves, i.e.
vwxyz
and so on?many thanks.
Beta Was this translation helpful? Give feedback.
All reactions