Congratulations IMJV

A few days ago, Panda Strike got a pull request claiming that a JSON Schema validator called is-my-json-valid (which I’m going to call IMJV) was faster than our own validator JSCK.

We disagreed with this claim, but it’s true now.

A few days ago, IMJV failed to implement a lot of JSON Schema, so we denied the PR and blogged about it here. IMJV was faster than JSCK, but it achieved some of that speed by not doing all the actual work of JSON Schema validation. IMJV author @mafintosh immediately launched an impressive flurry of activity and used our json-schema-tests project to upgrade IMJV’s draft 4 compliance to a near-perfect state.

Prior to this, the very incomplete version of IMJV outperformed JSCK by a factor of around 820, which is to say that it was 820 times faster than JSCK. The new, fully-compliant IMJV is only 5x faster than JSCK, but faster is faster. It stings to admit it, but IMJV, not JSCK, is now the fastest JSON Schema validator for Node.js.