yamlet-1.0.0.0: src/Yamlet/Decode.hs
-- | Conversion of nodes to Haskell values, with errors that point to the
-- node that caused them.
module Yamlet.Decode
( -- * Class
FromYaml (..)
-- * Parser
, Parser
, runParser
, parseNode
, failAt
, typeMismatch
, orElse
-- * Views
, View (..)
, view
, describeNode
-- * Scalars
, withNull
, withBool
, withInt
, withFloat
, withScientific
, withText
, oneOf
-- * Collections
, withSequence
, parseItems
, withMapping
, Object
, objectNode
, objectEntries
, objectKeys
, lookupKey
, parseField
, parseFieldMaybe
, parseFieldIfPresent
, parseFieldDefault
, parseFieldWith
, parseFieldMaybeWith
, parseFieldIfPresentWith
, parseFieldDefaultWith
, rejectUnknownKeys
) where
import Yamlet.Internal.FromYaml
import Yamlet.Internal.View