开发者

Is there a defined set of JSON parser tests that validate the majority of edge cases?

开发者 https://www.devze.com 2023-01-17 15:05 出处:网络
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/dese开发者_JAVA百

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/dese开发者_JAVA百科rializes JSON string properly?


It seems that someone attempted to write a test suite here

It is used in another parser project to validate its implementation:

It's in java, don't know if its fit.

(someone has written some tests for python too here)

0

精彩评论

暂无评论...
验证码 换一张
取 消