Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
Instances
Eq JsonType Source # | |
Show JsonType Source # | |
Generic JsonType Source # | |
type Rep JsonType Source # | |
Defined in HaskellWorks.Data.Json.Standard.Cursor.Type type Rep JsonType = D1 ('MetaData "JsonType" "HaskellWorks.Data.Json.Standard.Cursor.Type" "hw-json-standard-cursor-0.2.3.2-35k1al1NqDVKT0PRyQqSf3" 'False) ((C1 ('MetaCons "JsonTypeArray" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "JsonTypeBool" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "JsonTypeNull" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "JsonTypeNumber" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "JsonTypeObject" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "JsonTypeString" 'PrefixI 'False) (U1 :: Type -> Type)))) |
class JsonTypeAt a where Source #
jsonTypeAtPosition :: Position -> a -> Maybe JsonType Source #
jsonTypeAt :: a -> Maybe JsonType Source #
Instances
(BalancedParens w, Rank0 w, Rank1 w, Select1 v, TestBit w) => JsonTypeAt (GenericCursor String v w) Source # | |
Defined in HaskellWorks.Data.Json.Standard.Cursor.Type jsonTypeAtPosition :: Position -> GenericCursor String v w -> Maybe JsonType Source # jsonTypeAt :: GenericCursor String v w -> Maybe JsonType Source # | |
(BalancedParens w, Rank0 w, Rank1 w, Select1 v, TestBit w) => JsonTypeAt (GenericCursor ByteString v w) Source # | |
Defined in HaskellWorks.Data.Json.Standard.Cursor.Type jsonTypeAtPosition :: Position -> GenericCursor ByteString v w -> Maybe JsonType Source # jsonTypeAt :: GenericCursor ByteString v w -> Maybe JsonType Source # |