Module

Data.Argonaut.Encode.Encoders

#encodeIdentity

encodeIdentity :: forall a. (a -> Json) -> Identity a -> Json

#encodeMaybe

encodeMaybe :: forall a. (a -> Json) -> Maybe a -> Json

#encodeTuple

encodeTuple :: forall a b. (a -> Json) -> (b -> Json) -> Tuple a b -> Json

#encodeEither

encodeEither :: forall a b. (a -> Json) -> (b -> Json) -> Either a b -> Json

#encodeUnit

#encodeBoolean

#encodeNumber

#encodeInt

#encodeString

#encodeCodePoint

#encodeNonEmptyString

#encodeNonEmpty_Array

encodeNonEmpty_Array :: forall a. (a -> Json) -> NonEmpty Array a -> Json

#encodeNonEmptyArray

encodeNonEmptyArray :: forall a. (a -> Json) -> NonEmptyArray a -> Json

#encodeNonEmpty_List

encodeNonEmpty_List :: forall a. (a -> Json) -> NonEmpty List a -> Json

#encodeNonEmptyList

encodeNonEmptyList :: forall a. (a -> Json) -> NonEmptyList a -> Json

#encodeChar

#encodeArray

encodeArray :: forall a. (a -> Json) -> Array a -> Json

#encodeList

encodeList :: forall a. (a -> Json) -> List a -> Json

#encodeForeignObject

encodeForeignObject :: forall a. (a -> Json) -> Object a -> Json

#encodeSet

encodeSet :: forall a. Ord a => (a -> Json) -> Set a -> Json

#encodeMap

encodeMap :: forall a b. Ord a => (a -> Json) -> (b -> Json) -> Map a b -> Json

#encodeVoid

#assoc

assoc :: forall a. (a -> Json) -> String -> a -> Tuple String Json

#assocOptional

assocOptional :: forall a. (a -> Json) -> String -> Maybe a -> Maybe (Tuple String Json)

#extend

extend :: forall a. (a -> Json) -> Tuple String Json -> a -> Json

#extendOptional

extendOptional :: forall a. (a -> Json) -> Maybe (Tuple String Json) -> a -> Json

The named Encoders of the (~>?) operator.

Modules