Module

Data.Argonaut.Encode

Package
purescript-argonaut-codecs
Repository
purescript-contrib/purescript-argonaut-codecs

Re-exports from Data.Argonaut.Encode.Class

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.

#(~>) Source

Operator alias for Data.Argonaut.Encode.Combinators.extend (right-associative / precedence 6)

Extends a Json object with a JAssoc property.

#(:=) Source

Operator alias for Data.Argonaut.Encode.Combinators.assoc (non-associative / precedence 7)

Creates a JAssoc entry, representing a key/value pair for an object.