title: GREL: qq about Templating Export and Nulls (Open Refine)
body: <p>There is some expression more elegant than this to avoid printing NULLs and words &quot;NULL&quot;?
  By reading the Open Refine's docs <a href="https://github.com/OpenRefine/OpenRefine/wiki/General-Refine-Expression-Language" rel="nofollow noreferrer">https://github.com/OpenRefine/OpenRefine/wiki/General-Refine-Expression-Language</a> I have done this bellow, but feels odd and complex.</p>
  <p>Cheers.</p>
  <pre><code>{
    &quot;rows&quot; : [
  {{ if(isNull(cells[&quot;supplierID&quot;].value),
  &quot;&quot;,
  &quot;      \&quot;supplierID\&quot; : &quot; + jsonize(cells[&quot;supplierID&quot;].value)
  
  )}},
  
  {{ if(or(isNull(cells[&quot;homePage&quot;].value), cells[&quot;homePage&quot;].value == &quot;NULL&quot;),
  &quot;&quot;,
  &quot;      \&quot;homePage\&quot; : &quot; + jsonize(cells[&quot;homePage&quot;].value)
  
  )}}
  
    ]
  }
  </code></pre>