Skip to content

xtao-org/fitzjson-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fitzJSON logo

fitzjson-tests

Tests for fitzJSON parsers.

ECMA-404 compliance

ecma404.test.js verifies compliance with JSON (ECMA-404/RFC 8259). It uses tests from the JSON Parsing Test Suite by Nicolas Seriot, available under JSONTestSuite (see also the excellent article Parsing JSON is a Minefield 💣 by the same author, for which the test suite is an appendix).

Note: fitzJSON is a superset of JSON, thus is not aiming for strict compliance with ECMA-404, but superset-compliance. Meaning, some tests that were expected to fail for JSON may pass for fitzJSON (because the syntax is more permissive), but all tests that were expected to pass for JSON must also pass for fitzJSON. This is how success is measured here.

Running

node ecma404.test.js > results.txt

About

Tests for the fitzJSON format

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published