mirror of
https://github.com/mikefarah/yq.git
synced 2026-09-01 14:14:52 +08:00
Generic ast (#1829)
Remove dependency on yaml.Node for internal AST representation. Yaml decoder is now just another decoder.
This commit is contained in:
+2
-1
@@ -1 +1,2 @@
|
||||
["foobar", "foobaz", "blarp"]
|
||||
a: #things
|
||||
meow
|
||||
+1
-1
@@ -1 +1 @@
|
||||
<cat>3</cat>
|
||||
<zoo><thing><frog>boing</frog></thing></zoo>
|
||||
+2
-11
@@ -1,11 +1,2 @@
|
||||
# Some doc
|
||||
|
||||
a: true
|
||||
b:
|
||||
c: 2
|
||||
d: [3, 4, 5]
|
||||
e:
|
||||
- name: fred
|
||||
value: 3
|
||||
- name: sam
|
||||
value: 4
|
||||
# things
|
||||
a: apple
|
||||
Reference in New Issue
Block a user