Skip to content
fge edited this page Sep 3, 2012 · 111 revisions

Introduction

This is a pure Java implementation of the validation aspect of the JSON Schema Internet draft (version 3 at the moment). It uses Jackson at its core. Simply because there is no better Java JSON API out there. Really. If you don't use Jackson, you don't use JSON in Java correctly. I'm not joking.

Note that the draft as it currently stands leaves room for interpretation. I try to stick to it to the best of my capacity, but in some cases I chose to derive from it a little. See here for a discussion.

Versions

Version 1.0.1 is out, see here for the ChangeLog.

0.6.x will now only see maintenance releases. Latest release is 0.6.1.

Older versions are not supported anymore.

Features planned for 1.1.x: here.

Why?

Firstly, because I needed it for another project of mine which used JSON heavily, and the existing implementations at the time didn't fit the bill: either they were performing poorly, or they didn't obey the spec in some critical ways which were essential to me (mostly numeric instance validation -- I needed them to be accurate).

When I got my implementation to a functional state, I couldn't help but notice that my own implementation was not only performing better than any other implementation out there, but was also implementing the spec in a more complete manner. As of today, this is still the case.

Clone this wiki locally