argo-0.2022.8.28: Parse and render JSON.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Argo.Internal.Pointer.Pointer

Synopsis

Documentation

newtype Pointer Source #

A JSON pointer, as described by RFC 6901. https://datatracker.ietf.org/doc/html/rfc6901

Constructors

Pointer [Token] 

Instances

Instances details
HasCodec Pointer Source # 
Instance details

Defined in Argo.Internal.Class.HasCodec

Show Pointer Source # 
Instance details

Defined in Argo.Internal.Pointer.Pointer

NFData Pointer Source # 
Instance details

Defined in Argo.Internal.Pointer.Pointer

Methods

rnf :: Pointer -> () #

Eq Pointer Source # 
Instance details

Defined in Argo.Internal.Pointer.Pointer

Methods

(==) :: Pointer -> Pointer -> Bool #

(/=) :: Pointer -> Pointer -> Bool #

Lift Pointer Source # 
Instance details

Defined in Argo.Internal.Pointer.Pointer

Methods

lift :: Quote m => Pointer -> m Exp #

liftTyped :: forall (m :: Type -> Type). Quote m => Pointer -> Code m Pointer #

atIndex :: Token -> Array value -> Either String value Source #

atKey :: Token -> Object value -> Either String value Source #