I'm researching some JSON parsers, but some are home-grown. Is there a validation test that can be run against a json parser which verifies that the parser is "valid" and serializes/deserializes JSON string properly?
views:
16answers:
1
A:
It seems that someone attempted to write a test suite here: https://code.google.com/p/json-test-suite/downloads/list
It is used in another parser project to validate its implementation: https://code.google.com/p/json-simple/wiki/PerformanceTesting
It's in java, don't know if its fit.
(someone has written some tests for python too http://codespeak.net/svn/z3/jsonserver/trunk/jsontest.py)
hellvinz
2010-09-27 17:20:18