Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
A path to an object.
Encoding
encode :: Path -> ShortText Source #
Encode a path.
>>>
encode (Key "foo" $ Index 5 $ Key "bar" $ Nil)
builderUtf8 :: Path -> Builder Source #
Lookup
query :: Path -> Value -> Maybe Value Source #
Search for an element at the given path. Returns Nothing
if
anything in the path is missing.