title: Check Format for Json in Lua
body: <p>How can one check to see if a string is properly formatted in json? I am running into situations where I receive a partial json string, and then when trying to decode the erroneous string with Lua's json.decode, my application crashes.</p>
  
  <p>Thanks  </p>