Module

Data.Argonaut.Aeson.Encode.Generic

Package
purescript-argonaut-aeson-generic
Repository
coot/purescript-argonaut-aeson-generic

#RepArgsEncoding Source

#EncodeRepFields Source

class EncodeRepFields :: RowList Type -> Row Type -> Constraintclass EncodeRepFields (rs :: RowList Type) (row :: Row Type) | rs -> row where

Encode record fields

Members

Instances

#genericEncodeAeson Source

genericEncodeAeson :: forall a r. Generic a r => EncodeAeson r => Options -> a -> Json

Encode any Generic data structure into Json using Aeson encoding