blob: 96256de29c5e3df8b352784489acd73bd356850c [file] [log] [blame]
# DO NOT EDIT; generated by go run testdata/gen.go
#
#name: JSON
#evalPartial
-- in.cue --
a="a": 3
b: a
o: {"a\nb": 2} // TODO: use $ for root?
c: o["a\nb"]
-- out/def --
a: 3
b: 3
o: {
"a\nb": 2
}
c: 2
-- out/export --
a: 3
b: 3
o: {
"a\nb": 2
}
c: 2
-- out/yaml --
a: 3
b: 3
o:
? |-
a
b
: 2
c: 2
-- out/json --
{"a":3,"b":3,"o":{"a\nb":2},"c":2}
-- out/legacy-debug --
<0>{a: 3, b: 3, o: <1>{"a\nb": 2}, c: 2}