-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | JSON Pointer library -- -- JSON Pointer library @package hjsonpointer @version 0.2.0.4 module Data.JsonPointer newtype JsonPointer JsonPointer :: [Text] -> JsonPointer [_unJsonPointer] :: JsonPointer -> [Text] data PointerFormatError -- | The Text to build a JSON Pointer must either be empty or start with a -- "/". InvalidFirstChar :: PointerFormatError UnescapedTilde :: PointerFormatError data ResolutionError ObjectLookupFailed :: ResolutionError ArrayIndexInvalid :: ResolutionError ArrayElemNotFound :: ResolutionError ExpectedObjectOrArray :: ResolutionError -- | The Text to build a JSON Pointer must either be empty or start with a -- "/". If you're turning a URI Fragment into a JSON Pointer you must -- drop the initial "#". jsonPointer :: Text -> Either PointerFormatError JsonPointer resolvePointer :: JsonPointer -> Value -> Either ResolutionError Value -- | For internal use and specialized applications that don't want to -- resolve the entire pointer at once. resolveRefTok :: JsonPointer -> Value -> Either ResolutionError (JsonPointer, Value) instance GHC.Show.Show Data.JsonPointer.ResolutionError instance GHC.Classes.Eq Data.JsonPointer.ResolutionError instance GHC.Show.Show Data.JsonPointer.PointerFormatError instance GHC.Classes.Eq Data.JsonPointer.PointerFormatError instance GHC.Show.Show Data.JsonPointer.JsonPointer instance GHC.Classes.Eq Data.JsonPointer.JsonPointer