Encode a value as a Yaml ByteString via its type's codec.
Moduleautodocodec-yaml-0.4.0.2Haskell2010
Autodocodec.Yaml
- 14 values
- Packageautodocodec-yaml-0.4.0.2
- Exports14
- LanguageHaskell2010
- LicenceMIT
- SourceYaml.hs
Encoding and decoding Yaml
2 declarationsParse a Yaml ByteString using a type's codec.
Reading Yaml Files
2 declarationsHelper function to read a yaml file for a type in HasCodec
This will output a colourful yaml schema if parsing fails.
Helper function to read the first in a list of yaml files for a type is HasCodec
This will output a colourful yaml schema if parsing fails.
Producing a Yaml schema
8 declarationsRender a human-readable schema for a type's codec, in colour.
Render a human-readable schema for a given codec, in colour.
Render a human-readable schema for a type's codec, without colour.
Render a human-readable schema for a given codec, without colour.
Produce potentially-coloured Chunks for a human-readable schema for a given codec.
Render a JSONSchema as Chunks
Render a JSONSchema as lines of Chunks
Instantiating ToYaml
2 declarationsImplement toYaml using a type's codec
Implement toYaml using a given codec
To makes sure we definitely export everything.
0 declarationsmodule Autodocodec.Yaml.Schema
module Autodocodec.Yaml.IO
module Autodocodec.Yaml.Encode