go-jsonnet/testdata/object_comp_dollar.jsonnet
2017-10-03 19:51:01 -04:00

2 lines
67 B
Jsonnet

{ [x]: if x == "a" then 42 else $.a + 1 for x in ["a", "b", "c"] }