title: Replacing null and undefined values in json value with empty("")
body: <p>I'mm getting a JSON response with lots of <code>null</code> and <code>undefined</code> values. I need to replace all <code>null</code> and <code>undefined</code> values with an empty string (<code>""</code>). Below is a sample response I'm getting:</p>
  
  <p><a href="https://i.stack.imgur.com/Wjrrk.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Wjrrk.png" alt="&lt;code&gt;enter image description here&lt;/code&gt;"></a></p>
  
  <pre><code>{
    lecCicode: null
    lecOrderNo: null
    loccType: "Z"
    nccrCode: null
    nciCode: null
  },
  {
    lecCicode: null
    lecOrderNo: null
    loccType: "Z"
    nccrCode: null
    nciCode: null
  },
  {
    lecCicode: null
    lecOrderNo: null
    loccType: "Z"
    nccrCode: null
    nciCode: null
  }
  </code></pre>