title: "invalid character '\x00' after top-level value"
body: <p>I am getting this error while unmarshalling json in a for loop.
  The first time through the loop is unmarshalling fine but on the next iteration I am getting this error.</p>
  
  <p>I am new to golang and this error message is not clear. Can someone please explain in what cases this error occurs and how I am supposed to avoid it.</p>