8000 GitHub - greg42/aeson-schema: Haskell JSON schema validator and parser generator
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

greg42/aeson-schema

 
 

Repository files navigation

aeson-schema Build Status

aeson-schema is an implementation of the JSON Schema specification. It can be used in two ways:

  • To validate JSON value against a schema.
  • To generate a parser for a schema. The generated code includes Haskell data structure definitions and FromJSON instances. This allows you to use the validated data in a type-safe and convenient way.

You can install this library using cabal:

cabal update && cabal install aeson-schema

Compatibility

aeson-schema implements Draft 3 of the spec. It supports all core schema definitions except the following 'format' values:

  • data-time
  • date
  • time
  • utc-millisec
  • color
  • style
  • phone
  • uri
  • email
  • ip-address
  • ipv6
  • host-name

I would be happy to accept pull requests that implement validation of one of these formats, fix bugs or add other features.

About

Haskell JSON schema validator and parser generator

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Haskell 100.0%
0