argonaut decoder for HTTPurple 🪁.
spago install httpurple-argonaut
import HTTPurple.Json.Argonaut as Argonaut
...
myRequest <- fromJson Argonaut.jsonDecoder body
...
ok $ toJson Argonaut.jsonEncoder myResponse
...
argonaut decoder for HTTPurple 🪁.
spago install httpurple-argonaut
import HTTPurple.Json.Argonaut as Argonaut
...
myRequest <- fromJson Argonaut.jsonDecoder body
...
ok $ toJson Argonaut.jsonEncoder myResponse
...
Pursuit v0.9.9