uniform-json-0.1.5.2: handling of JSON and YAML in an uniform way
Safe HaskellSafe-Inferred
LanguageHaskell2010

Uniform.Yaml

Synopsis

Documentation

newtype YamlText Source #

Constructors

YamlText Text 

Instances

Instances details
Read YamlText Source # 
Instance details

Defined in Uniform.Yaml

Show YamlText Source # 
Instance details

Defined in Uniform.Yaml

Eq YamlText Source # 
Instance details

Defined in Uniform.Yaml

Ord YamlText Source # 
Instance details

Defined in Uniform.Yaml

Zeros YamlText Source # 
Instance details

Defined in Uniform.Yaml

TypedFiles7 Text YamlText Source # 
Instance details

Defined in Uniform.Yaml

readYaml2rec :: (FromJSON a, Show a) => Path Abs File -> ErrIO a Source #

read a yaml file into a record Value error when syntax fault

decodeFileThrow :: (MonadIO m, FromJSON a) => FilePath -> m a #

A version of decodeFileEither lifted to MonadIO

Since: yaml-0.8.31

encode :: ToJSON a => a -> ByteString #

Encode a value into its YAML representation.

data Options #

Options that specify how to encode/decode your datatype to/from JSON.

Options can be set using record syntax on defaultOptions with the fields below.

Instances

Instances details
Show Options 
Instance details

Defined in Data.Aeson.Types.Internal