Perl JSON validation function -
i'm using perl module, json when handling json data in perl script.
i looking use valid_json
json::parser
module, looks though version i'm using, 2.53 has deprecated this. reading docs 2.53, cannot see validation functions.
am rely on decode_json
, & encode_json
returns tell me json string invalid?
you may decode_json in eval , see if trow exception.
Comments
Post a Comment