title: How to extract data from an incomplete and duplicated json string?
body: <p>I have a JSON string from a TCP/IP socket like this:</p>
  <pre><code>res = 'atus&quot;: &quot;OK&quot;}{&quot;pos&quot;: {&quot;q0&quot;: 1.00, &quot;q1&quot;: -0.00}}{&quot;status&quot;: &quot;OK&quot;}{&quot;pos&quot;: {&quot;q0&quot;: 2.00, &quot;q1&quot;: -1.00}}{&quot;status&quot;: &quot;OK&quot;}{&quot;pos&quot;: {&quot;q0&quot;: 3.00,'
  </code></pre>
  <p>It always contains at least one complete &quot;pos&quot; item, and I want to extract the values of the last &quot;pos&quot; item, as in the example</p>
  <pre><code>q0 = 2.00
  q1 = -1.00
  </code></pre>
  <p>Is there a descent way to do it?</p>