Package Info

ghc-HsYAML


Pure Haskell YAML 1.2 processor


Unspecified

'HsYAML' is a YAML 1.2 processor, i.e. a library for parsing and serializing YAML documents.

Features of 'HsYAML' include:

  • Pure Haskell implementation with small dependency footprint and emphasis on

strict compliance with the YAML 1.2 specification. * Direct decoding to native Haskell types via ('aeson'-inspired) typeclass-based API (see "Data.YAML").

  • Allows round-tripping while preserving ordering, anchors, and comments at

Event-level. * Support for constructing custom YAML node graph representation (including support for cyclic YAML data structures). * Support for the standard (untyped) /Failsafe/, (strict) /JSON/, and (flexible) /Core/ "schemas" providing implicit typing rules as defined in the YAML 1.2 specification (including support for user-defined custom schemas; see "Data.YAML.Schema").

  • Support for emitting YAML using /Failsafe/, (strict) /JSON/, and (flexible)

/Core/ "schemas" (including support for user-defined custom encoding schemas; see "Data.YAML.Schema"). * Event-based API resembling LibYAML's Event-based API (see "Data.YAML.Event"). * Low-level API access to lexical token-based scanner (see "Data.YAML.Token").

See also the <//hackage.haskell.org/package/HsYAML-aeson HsYAML-aeson> package which allows to decode and encode YAML by leveraging 'aeson''s 'FromJSON' and 'ToJSON' instances.


License: GPL-2.0-or-later
URL: https://hackage.haskell.org/package/HsYAML

Categories

Releases

Package Version Update ID Released Package Hub Version Platforms Subpackages
0.2.1.0-bp154.3.11 info GA Release 2022-05-09 15 SP4
  • AArch64
  • ppc64le
  • x86-64
  • ghc-HsYAML
  • ghc-HsYAML-devel
0.2.1.0-bp153.1.20 info GA Release 2021-04-08 15 SP3
  • AArch64
  • ppc64le
  • x86-64
  • ghc-HsYAML
  • ghc-HsYAML-devel
0.2.1.0-bp152.2.2 info GA Release 2020-06-16 15 SP2
  • AArch64
  • ppc64le
  • x86-64
  • ghc-HsYAML
  • ghc-HsYAML-devel
0.1.1.3-bp151.2.2 info GA Release 2019-07-17 15 SP1
  • ppc64le
  • x86-64
  • ghc-HsYAML
  • ghc-HsYAML-devel
0.1.1.3-bp151.1.9 info GA Release 2019-05-31 15 SP1
  • AArch64
  • ghc-HsYAML
  • ghc-HsYAML-devel