Safe Haskell | None |
---|---|
Language | Haskell2010 |
Data.JSON.Schema
Documentation
type ConstSchema a = Const a Schema Source
class HasSchema a where Source
Methods
toSchema :: ConstSchema a Source
newtype Properties Source
Constructors
Properties [(String, Schema)] |
Instances
Eq Properties | |
Read Properties | |
Show Properties | |
Lift Properties | |
ToJSON Properties | |
FromJSON Properties |
jsonSchema :: Value -> Schema Source