jsonnet-sys 0.17.0

Native bindings to the libjsonnet library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{
  // Note that the Mimosa is now
  // parameterized.
  Mimosa(brunch): {
    local fizz = if brunch then
      'Cheap Sparkling Wine'
    else
      'Champagne',
    ingredients: [
      { kind: fizz, qty: 3 },
      { kind: 'Orange Juice', qty: 3 },
    ],
    garnish: 'Orange Slice',
    served: 'Champagne Flute',
  },
}