yaml-0.8.17.2: Support for parsing and rendering YAML documents.

Safe HaskellNone
LanguageHaskell98

Data.Yaml.Pretty

Description

Prettier YAML encoding.

Since 0.8.13

Synopsis

Documentation

encodePretty :: ToJSON a => Config -> a -> ByteString Source #

Configurable encode.

Since 0.8.13

data Config Source #

Since 0.8.13

getConfCompare :: Config -> Text -> Text -> Ordering Source #

Since 0.8.13

setConfCompare :: (Text -> Text -> Ordering) -> Config -> Config Source #

Since 0.8.13

defConfig :: Config Source #

The default configuration: do not sort objects.

Since 0.8.13