Skip to content
fge edited this page Aug 28, 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 0.5.3 is out, see here for a list of features.

There will be, from this point, only maintenance releases for 0.5.x.

Features planned for 0.6, and the future, 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.

As an added bonus, this is the only JSON Schema implementation to be fully thread safe.

Clone this wiki locally