purescript-yaml/generated-docs/Data/YAML/Foreign/Decode.md

396 B

Module Data.YAML.Foreign.Decode

parseYAMLToJson

parseYAMLToJson :: String -> F Json

Attempt to parse a YAML string, returning the result as Json

readYAMLGeneric

readYAMLGeneric :: forall a rep. Generic a rep => GenericDecode rep => Options -> String -> F a

Automatically generate a YAML parser for your data from a generic instance.