title: Sending JSON from Python server
body: <p>Using PyZMQ to set up a client Socket connection in Unity.
  The server is responding with a JSON Object which is converted to a String before sending using the Python json.dumps() method</p>
  <p>My question is should the JSON Object be converted to a String BEFORE sending it to the client or left as a JSON Object?</p>
  <p>Right now I am receiving</p>
  <pre><code>&quot;{\&quot;timestamp\&quot;: 1233456,\&quot;foo\&quot;: 2,\&quot;nofoo\&quot;: 0,\&quot;foo_count\&quot;: 234,\&quot;nofoo_count\&quot;: 12}&quot;
  </code></pre>
  <p>which makes it difficult to parse.</p>