What I want to do is get a JSON object and an HTML view from a single AJAX call.
My current implementation is the JSON object is hidden in some part of the html and just parsed client side.
Is this good practice? Is there a better way of doing this?