| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Data.Yaml.Pretty.Extras
Documentation
module Data.Yaml
module Data.Yaml.Pretty
class ToJSON a => ToPrettyYaml a where Source #
Minimal complete definition
Methods
fieldOrder :: a -> [Text] Source #
dropNull :: a -> Bool Source #
toPrettyYaml :: a -> ByteString Source #
encodeFilePretty :: ToPrettyYaml a => FilePath -> a -> IO () Source #
displayPrettyYaml :: ToPrettyYaml a => a -> Utf8Builder Source #