Module
Test.Serialization.Symbiote.Argonaut
- Package
- purescript-symbiote
- Repository
- athanclark/purescript-symbiote
#ToArgonaut Source
newtype ToArgonaut a
Wrap 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 ShowJson
Simple newtype to make the serialized output Show
able
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) ShowJson
Generic ShowJson _
Eq ShowJson
Show ShowJson
EncodeJson ShowJson
DecodeJson ShowJson