Module

Data.Json.Extended

Package
purescript-ejson
Repository
slamdata/purescript-ejson

#EJson Source

type EJson = Mu EJsonF

#null Source

null :: forall t. Corecursive t EJsonF => t

#boolean Source

boolean :: forall t. Corecursive t EJsonF => Boolean -> t

#integer Source

integer :: forall t. Corecursive t EJsonF => HugeInt -> t

#decimal Source

decimal :: forall t. Corecursive t EJsonF => HugeNum -> t

#number Source

#string Source

string :: forall t. Corecursive t EJsonF => String -> t

#map Source

map :: forall t. Corecursive t EJsonF => Map t t -> t

#array Source

array :: forall t. Corecursive t EJsonF => Array t -> t

#renderEJson Source

renderEJson :: forall t. Recursive t EJsonF => t -> String

#parseEJson Source

parseEJson :: forall m. Monad m => ParserT String m EJson

#arbitraryEJsonOfSize Source

arbitraryEJsonOfSize :: forall t m. MonadGen m => MonadRec m => Corecursive t EJsonF => Int -> m t

#getType Source

getType :: forall t. Recursive t EJsonF => t -> EJsonType

#_Null Source

#_String Source

#_Boolean Source

#_Integer Source

#_Decimal Source

#_Array Source

_Array :: forall t. Corecursive t EJsonF => Recursive t EJsonF => Prism' t (Array t)

#_Map Source

_Map :: forall t. Corecursive t EJsonF => Recursive t EJsonF => Ord t => Prism' t (Map t t)

Re-exports from Data.Json.Extended.Signature

#EJsonF Source

#parseStringLiteral Source

#parseNull Source

parseNull :: forall m. Monad m => ParserT String m Unit

#parseMapLiteral Source

parseMapLiteral :: forall m a. Monad m => ParserT String m a -> ParserT String m (EJsonMap a)

#parseIntLiteral Source

parseIntLiteral :: forall m. Monad m => ParserT String m Int

#parseHugeIntLiteral Source

#parseEJsonF Source

parseEJsonF :: forall a m. Monad m => ParserT String m a -> ParserT String m (EJsonF a)

Parse one layer of structure.

#parseDecimalLiteral Source

#parseBooleanLiteral Source

#parseArrayLiteral Source

parseArrayLiteral :: forall m a. Monad m => ParserT String m a -> ParserT String m (Array a)

#arbitraryEJsonF Source