<script type="text/javascript"> var json = '{"result":true,"count":1}', obj = JSON.parse(json); </script>