How do I refer to the values in this string in javascript
<p>I have an object with one String value in it in javascript.  I believe it should be a key value pair but something is changing it so that this doesn't work:</p>

<pre><code>$.each(object, function(index, element) {
  if (element.key) {
    //do something with element.key and element.value
  }
}
</code></pre>

<p>The value of element when inspecting with firebug is:</p>

<pre><code>[Object { STRING="1=stringValue"}]
</code></pre>

<p>How do I process this object?</p>
