in reply to Re: JSON Formatted String
in thread JSON Formatted String
I know that I can catch the error in particular function can be caught by using $@ variable. I will receive JSON formatted string from client socket. Then, I will pass that to from_json method to convert it into Perl Hash structure. Before I pass the string to that function, I want to verify whether the received string is in correct JSON format. If somebody knows function in JSON to check correct JSON string or not. Kindly help me out of this problem.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: JSON Formatted String
by Your Mother (Archbishop) on Jan 13, 2011 at 05:54 UTC | |
Re^3: JSON Formatted String
by ikegami (Patriarch) on Jan 13, 2011 at 06:11 UTC | |
by nvivek (Vicar) on Jan 13, 2011 at 06:56 UTC | |
Re^3: JSON Formatted String
by Anonymous Monk on Jan 13, 2011 at 04:44 UTC | |
by nvivek (Vicar) on Jan 13, 2011 at 05:47 UTC |
In Section
Seekers of Perl Wisdom