3[](http://travis-ci.org/fizruk/http-api-data)
4[](http://hackage.haskell.org/package/http-api-data)
5[](http://stackage.org/lts/package/http-api-data)
6[](http://stackage.org/nightly/package/http-api-data)
8This package defines typeclasses used for converting Haskell data types to and from HTTP API data.
17>>> parseUrlPiece "false" :: Either Text Bool
19>>> parseUrlPieces ["true", "false", "undefined"] :: Either Text [Bool]
20Left "could not parse: `undefined'"
28>>> parseQueryParam "452" :: Either Text Int
30>>> toQueryParams [1..5]
32>>> parseQueryParams ["127", "255"] :: Either Text [Int8]
33Left "out of bounds: `255' (should be between -128 and 127)"
41>>> parseHeader "world" :: Either Text String
48>>> toQueryParam (fromGregorian 2015 10 03)
50>>> toGregorian <$> parseQueryParam "2016-12-01"
56Contributions and bug reports are welcome!
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list