title: Is it possible to use an if-else statement inside a JSON file?
body: <p>I want to include an <code>if-else</code> condition in JSON based on which I need to set an attribute in the JSON file.</p>
  
  <p>For example like this:</p>
  
  <pre><code>"identifier": "navTag",
  "items": [{
                  "label": "abc",
                  "url": "yxz.com",
              },
              {
                  "label": "abc1",
                  "url": "yxz1.com",
              },
              {
                  "label": "abc2",  
                  "url": "yxz2.com",/*I need to change this value on certain 
                                      condition like if condition is true then 
                                      "url": xyz2.com if false  "url":xyz3.com*/
              }
          ]
  </code></pre>
  
  <p>Is this possible?</p>