title: jsonnet conditional generation of a field
body: <p>How can I get something like this working in jsonnet?</p>
  <pre><code>{
      if 1 == 1 then
        store: true
  }
  </code></pre>
  <p>I get the below error when I run it with jsonnet:</p>
  <pre><code>STATIC ERROR: a.jsonnet:2:9-11: unexpected: if while parsing field definition
  </code></pre>
  <p>I would like to generate a json like this, just as an example, but while evaluating some conditions:</p>
  <pre><code>{
    &quot;store&quot;: true
  }
  </code></pre>