servant-xml

Servant support for the XML Content-Type

https://github.com/fosskers/servant-xml

Version on this page:1.0.1.4
LTS Haskell 22.36:1.0.3
Stackage Nightly 2024-10-03:1.0.3
Latest on Hackage:1.0.3

See all snapshots servant-xml appears in

BSD-3-Clause licensed by Colin Woodbury
Maintained by [email protected]
This version can be pinned in stack with:servant-xml-1.0.1.4@sha256:6c9f2986ac42e72fe24b794c660763a1966a18d696b34cd4f4ed15165edd4aa0,851

Module documentation for 1.0.1.4

servant-xml

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.

Changes

CHANGELOG

1.0.1.4

  • Support for recent versions of xmlbf and xmlbf-xeno.

1.0.1.3

  • Bump various bounds.

1.0.1.1

  • Bump servant upper bound.

1.0.1

  • Added MimeUnrender instance for XML.

1.0.0

  • Initial release.