title: Error Domain=NSCocoaErrorDomain Code=3840 "JSON text did not start with array or object and option to allow fragments not set."
body: <blockquote>
    <p>Error Type : Error Domain=NSCocoaErrorDomain Code=3840 "JSON text did not start with array or object and option to allow fragments not set.".UserInfo={NSDebugDescription=JSON text did not start with array or object and option to allow fragments not set.</p>
  </blockquote>
  
  <p>Scenario: Bonjour Server is able to send the JSON data successfully to the client. But sporadically I am seeing these errors: <code>Error Domain=NSCocoaErrorDomain Code=3840</code>. </p>
  
  <p>Can anyone suggest how to overcome this issue?</p>