P is for Practical | |
PerlMonks |
Re^2: Validating a JSON structureby sherab (Scribe) |
on Sep 05, 2012 at 13:13 UTC ( [id://991840]=note: print w/replies, xml ) | Need Help?? |
Well formed JSON testing is easy enough to check for (Test::JSON, thanks Poe!) but what I am after is if the JSON matches a very strict definition. - Lack of elements, fail - Additional elements, fail If the test doesn't pass then we can put some eyeballs on it.
In Section
Seekers of Perl Wisdom
|
|