Module

Erl.Data.Jsone

Package
erl-jsone
Repository
purerl/purescript-erl-jsone

#Json Source

data Json :: Type

#JNull Source

data JNull :: Type

#JBoolean Source

#JNumber Source

#JString Source

#JArray Source

#JObject Source

newtype JObject

Constructors

Instances

#fromNull Source

#fromBoolean Source

#fromNumber Source

#fromString Source

#fromArray Source

#fromObject Source

#foldJson Source

foldJson :: forall a. (JNull -> a) -> (JBoolean -> a) -> (JNumber -> a) -> (JString -> a) -> (JArray -> a) -> (JObject -> a) -> Json -> a

#foldJsonNull Source

foldJsonNull :: forall a. a -> (JNull -> a) -> Json -> a

#foldJsonBoolean Source

foldJsonBoolean :: forall a. a -> (JBoolean -> a) -> Json -> a

#foldJsonNumber Source

foldJsonNumber :: forall a. a -> (JNumber -> a) -> Json -> a

#foldJsonString Source

foldJsonString :: forall a. a -> (JString -> a) -> Json -> a

#foldJsonObject Source

foldJsonObject :: forall a. a -> (JObject -> a) -> Json -> a

#jsonNull Source

#jsonEmptyObject Source

#jsonSingletonObject Source