servant-xml

Servant support for the XML Content-Type

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

Version on this page:1.0.2
LTS Haskell 22.28:1.0.3
Stackage Nightly 2024-07-13: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.2@sha256:7a91b6ed7c9be0d93713cf793aed45ba530b53da31c2b5fb06d6acdf54343757,851

Module documentation for 1.0.2

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.2 (2022-12-09)

Changed

  • Updated to work with xmlbf-0.7.

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.