http://qs1969.pair.com?node_id=881859

nvivek has asked for the wisdom of the Perl Monks concerning the following question:

Hi monks,
I am using JSON module for converting the Perl Hash into JSON string and JSON string into Perl hash. I want to check whether the string is in correct JSON format or not. I needed any function to test not any online JSON validator because I wanted to use that in a program. Please, help me if you know it.