Module
Data.JSON.Definition
- Package
- purescript-json-schema
- Repository
- felixmulder/purescript-json-schema
#Definition Source
newtype Definition aConstructors
Instances
Newtype (Definition a) _Show (Definition a)Eq (Definition a)
#JsonSchema Source
#RecordDefinition Source
class RecordDefinition a whereMembers
Instances
(RowToList fields fieldList, RowToProperty fieldList) => RecordDefinition (Record fields)
#RowToProperty Source
class RowToProperty (xs :: RowList) whereMembers
toPropertyArray :: RLProxy xs -> Array Property
Instances
(IsSymbol name, IsType head, JsonSchema head, RowToProperty tail, Cons name (Maybe head) trash row) => RowToProperty (Cons name (Maybe head) tail)(IsSymbol name, IsType head, JsonSchema head, RowToProperty tail, Cons name head trash row) => RowToProperty (Cons name head tail)RowToProperty Nil
#showJson Source
showJson :: forall a. Definition a -> StringWrite a Definition a to a JSON string
#showYaml Source
showYaml :: forall a. Definition a -> StringWrite a Definition a to a YAML string
- Modules
- Data.
JSON. Definition - Data.
JSON. Schema