Home

Awesome

DEPRECATION NOTICE

hjsonschema was an attempt to build a very modular JSON Schema library. Validators have a concrete type and can be mixed and matched into new Specs.

However this flexibility came at the price of complicating the code. I don't think it was the right tradeoff, especially since situations where you'd want to change what validators make up a Spec at runtime seem rare.

Also, there are many parts of JSON Schema that hjsonschema doesn't implement properly (as you can see from the issue tracker). I'm hoping that a new JSON Schema library will come along that handles these correctly.

Links

Hackage / GitHub / Travis CI

Example

See here.

System dependencies

Vendoring