https://github.com/fosskers/servant-xml
Servant support for the XML Content-Type.
https://github.com/fosskers/servant-xml
haskell servant xml
Last synced: 9 months ago
JSON representation
Servant support for the XML Content-Type.
- Host: GitHub
- URL: https://github.com/fosskers/servant-xml
- Owner: fosskers
- License: bsd-3-clause
- Created: 2018-03-05T23:59:03.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2024-01-31T23:50:01.000Z (almost 2 years ago)
- Last Synced: 2025-03-29T21:11:25.732Z (10 months ago)
- Topics: haskell, servant, xml
- Language: Haskell
- Homepage:
- Size: 14.6 KB
- Stars: 6
- Watchers: 3
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# 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.