String with Object to Object <p>I have the following string:</p> <pre><code>var arr = "[{'one' : '1'}, {'two' : '2'}]"; </code></pre> <p>How can I pass this string to an object?</p> <p>I've tried the following but it doesn't seem to work:</p> <pre><code>arr.split(','); </code></pre>