Module
Data.Argonaut.Encode
- Package
- purescript-argonaut-codecs
- Repository
- purescript-contrib/purescript-argonaut-codecs
Re-exports from Data.Argonaut.Encode.Class
#EncodeJson Source
class EncodeJson a where
Members
encodeJson :: a -> Json
Instances
(EncodeJson a) => EncodeJson (Maybe a)
(EncodeJson a, EncodeJson b) => EncodeJson (Tuple a b)
(EncodeJson a, EncodeJson b) => EncodeJson (Either a b)
EncodeJson Unit
EncodeJson Boolean
EncodeJson Number
EncodeJson Int
EncodeJson String
EncodeJson Json
EncodeJson Char
(EncodeJson a) => EncodeJson (Array a)
(EncodeJson a) => EncodeJson (List a)
(EncodeJson a) => EncodeJson (StrMap a)
(Ord a, EncodeJson a, EncodeJson b) => EncodeJson (Map a b)
EncodeJson Void
Re-exports from Data.Argonaut.Encode.Combinators
#extend Source
extend :: forall a. EncodeJson a => JAssoc -> a -> Json
The named implementation of the (~>)
operator.
#assoc Source
assoc :: forall a. EncodeJson a => String -> a -> JAssoc
The named implementation of the (:=)
operator.