How to find a difference between normal text and the Json encoded text

Posted by sganesh on Stack Overflow See other posts from Stack Overflow or by sganesh
Published on 2010-04-06T07:49:03Z Indexed on 2010/04/06 7:53 UTC
Read the original article Hit count: 204

Filed under:

I have used JSON::Any package in my program to transfer the hash between client and server.

I faced one problem, I want to find whether the text ( sent by client ) is normal text or JSON encoded text.

Can anyone please tell me how to find,

without checking, I got some error in server side and it is closed.

© Stack Overflow or respective owner

Related posts about perl