title: Rhino: return JSON from within Java
body: <p>I have the string representation of a JSON-serialized object in Java e.g. <code>"{\"name\":\"John\",\"age\":24}"</code>. How do I parse and return it to the JavaScript context, just the way <code>JSON.parse(str)</code> would work in JS? Thanks.</p>