Encode a value as a Yaml ByteString via its type's codec.
Moduleautodocodec-yaml-0.4.0.3Haskell2010
Autodocodec.Yaml
Contents
Synopsis
- value encodeYamlViaCodec
- value eitherDecodeYamlViaCodec
- value readYamlConfigFile
- value readFirstYamlConfigFile
- value renderColouredSchemaViaCodec
- value renderColouredSchemaVia
- value renderPlainSchemaViaCodec
- value renderPlainSchemaVia
- value schemaChunksViaCodec
- value schemaChunksVia
- value jsonSchemaChunks
- value jsonSchemaChunkLines
- value toYamlViaCodec
- value toYamlVia
- Packageautodocodec-yaml-0.4.0.3
- Exports14
- LanguageHaskell2010
- LicenceMIT
- SourceYaml.hs
Encoding and decoding Yaml
Parse a Yaml ByteString using a type's codec.
Reading Yaml Files
Helper 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
Render 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
Implement toYaml using a type's codec
Implement toYaml using a given codec
To makes sure we definitely export everything.
module Autodocodec.Yaml.Schema
module Autodocodec.Yaml.IO
module Autodocodec.Yaml.Encode