Module
Test.Serialization.Symbiote.Argonaut
- Package
- purescript-symbiote
- Repository
- athanclark/purescript-symbiote
#ToArgonaut Source
newtype ToArgonaut aWrap your subject-matter type and operations type with this, to get a system that serializes to
Json - but only through ShowJson because it lacks the Show instance.
Constructors
Instances
(Generic a a') => Generic (ToArgonaut a) _(Arbitrary a) => Arbitrary (ToArgonaut a)(Eq a) => Eq (ToArgonaut a)(Show a) => Show (ToArgonaut a)(SymbioteOperation a o op) => SymbioteOperation (ToArgonaut a) (ToArgonaut o) (ToArgonaut op)(SymbioteOperation (ToArgonaut a) (ToArgonaut o) (ToArgonaut op), EncodeJson a, EncodeJson o, EncodeJson op, DecodeJson a, DecodeJson o, DecodeJson op) => Symbiote (ToArgonaut a) (ToArgonaut o) (ToArgonaut op) ShowJson
#ShowJson Source
newtype ShowJsonSimple newtype to make the serialized output Showable
Constructors
Instances
(SymbioteOperation (ToArgonaut a) (ToArgonaut o) (ToArgonaut op), EncodeJson a, EncodeJson o, EncodeJson op, DecodeJson a, DecodeJson o, DecodeJson op) => Symbiote (ToArgonaut a) (ToArgonaut o) (ToArgonaut op) ShowJsonGeneric ShowJson _Eq ShowJsonShow ShowJsonEncodeJson ShowJsonDecodeJson ShowJson