json-schema alternatives and similar packages
Based on the "json" category.
Alternatively, view json-schema alternatives based on common mentions on social networks and blogs.
-
aeson-pretty
JSON pretty-printing library and command-line tool. -
xml-to-json-fast
Fast, light converter of xml to json capable of handling huge xml files -
digestive-functors-aeson
Run digestive-functors against a JSON document -
aeson-better-errors
Better errors when decoding JSON values -
highjson
Haskell: Low boilerplate, easy to use and very fast Haskell JSON serialisation and parsing -
json-rpc-server
A Haskell implementation of JSON RPC 2.0 on the server side. -
curl-aeson
Haskell library for communicating with HTTP service using JSON -
aeson-quick
Haskell library for quick JSON extractions with Aeson -
json-rpc-client
Functions for creating a Haskell JSON-RPC 2.0 client. -
log2json
Take an httpd.conf style LogFormat string and parse log files into JSON records.
Access the most powerful time series database as a service
Do you think we are missing an alternative of json-schema or a related project?
README
json-schema
json-schema
is like XML schemas, but for JSON. It's haskell specific and has no relation to json-schema.org.
The package provides
- An AST type
Schema
defining the structure of a JSON object. - A type class
JSONSchema
to define a schema for a type. - Combinators for defining schemas.
- A module for validating Aeson values against schemas.
- Built-in instances matching aeson's.
- A Generics module matching aeson instances generated by generics-aeson
If you use another library for generating JSON instances (such as aeson's built-in generics/template haskell) or write aeson instances by hand you will not get matching JSONSchema instances if you use json-schema's generics module.
This package assumes that your ToJSON
and FromJSON
instances match.
Installation
This package is available on hackage
$ cabal install json-schema
Examples
see the examples folder or The test suite.