title: Get JSON page content with PhantomJS
body: <p>I would like to know how to parse JSON in phantomjs. Any page content is enclosed in html (<code>&lt;html&gt;&lt;body&gt;&lt;pre&gt;{JSON string}&lt;/pre&gt;&lt;/body&gt;&lt;/html&gt;</code>). Is there an options to remove enclosing tags or asking for a different Content-Type as "application/json"? If not, what's the best way to parse it. Is it using jQuery after including with includeJS jQuery?</p>