Safe Haskell | None |
---|---|
Language | Haskell98 |
Generic derivation of schemas. The schemas generated match the JSON generated by type 'generic-aeson' package. See that package for documentation on the format and examples of it.
Documentation
class GJSONSchema f Source
gSchema'
GJSONSchema U1 | |
GJSONSchema (K1 i String) | |
JSONSchema c => GJSONSchema (K1 i c) | |
(GJSONSchema f, GJSONSchema g) => GJSONSchema ((:+:) f g) | |
(GJSONSchema f, GJSONSchema g) => GJSONSchema ((:*:) f g) | |
GJSONSchema f => GJSONSchema (M1 D c f) | |
(Constructor c, GJSONSchema f) => GJSONSchema (M1 C c f) | |
(Selector c, GJSONSchema f) => GJSONSchema (M1 S c f) | |
Selector c => GJSONSchema (M1 S c (K1 i (Maybe String))) | |
(Selector c, JSONSchema a) => GJSONSchema (M1 S c (K1 i (Maybe a))) |