servant-xml: Servant support for the XML Content-Type

[ bsd3, library, web ] [ Propose Tags ]
Versions 1.0.0, 1.0.1,
Change log
Dependencies base (>=4.7 && <5), bytestring, http‑media (==0.7.*), servant (>=0.11 && <0.14), xmlbf (==0.3.*), xmlbf‑xeno (==0.1.*) [details]
License BSD-3-Clause
Copyright 2018 Colin Woodbury
Author Colin Woodbury
Category Web
Home page
Uploaded by fosskers at Tue Mar 13 04:57:31 UTC 2018
Distributions NixOS:
Downloads 62 total (62 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2018-03-13 [all 1 reports]
Hackage Matrix CI

Servant support for the Content-Type of application/xml. Anything with ToXml and FromXml instances can be automatically marshalled.

[Skip to Readme]




Maintainer's Corner

For package maintainers and hackage trustees

Readme for servant-xml-

[back to package description]


Servant support for XML.

Types with a ToXml instance will be automatically marshalled into XML and successfully returned by Servant endpoints. Types with a FromXml instance can be decoded from request bodies.

In implementing these typeclass instances, you can use the primatives found in the xmlbf library.