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 Source | |
GJSONSchema (K1 i String) Source | |
JSONSchema c => GJSONSchema (K1 i c) Source | |
(GJSONSchema f, GJSONSchema g) => GJSONSchema ((:+:) f g) Source | |
(GJSONSchema f, GJSONSchema g) => GJSONSchema ((:*:) f g) Source | |
GJSONSchema f => GJSONSchema (M1 D c f) Source | |
(Constructor c, GJSONSchema f) => GJSONSchema (M1 C c f) Source | |
(Selector c, GJSONSchema f) => GJSONSchema (M1 S c f) Source | |
Selector c => GJSONSchema (M1 S c (K1 i (Maybe String))) Source | |
(Selector c, JSONSchema a) => GJSONSchema (M1 S c (K1 i (Maybe a))) Source |