Module

Data.Argonaut.Types.Generic

#Encoding

type Encoding = { tagKey :: String, unwrapSingleArguments :: Boolean, valuesKey :: String }

Encoding settings: tagKey -- which key to use in the JSON object for sum-type constructors valuesKey -- which key to use in the JSON object for sum-type values unwrapSingleArguments -- should single-arguments constructors' values be wrapped in an array

#defaultEncoding

Modules