Fix error handling when recieved broken data.

Thank you for your plugin. I'm using this plugin always.
But, I have problem.
When receiving the broken data can not handle the error.

ex) `{"name":"taro", "gender": "male", "categÎTF=L£logÚ¼ÀÀÀÀÀ£lo`

So, I fixed it.  :)