Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
A finger into a json value indicating where a parser is
currently operating. When a parser focuses on a key-value
pair in a map, it adds Key
constructor to the context, and
when it focuses on an element of an array, it adds an Index
constructor. Like all zipper-like data structures, it is, in
a sense, reversed, which makes it cheap to construct while
parsing.
Encoding
builderUtf8 :: Context -> Builder Source #
Convert Context
to textual representation using UTF-8 as the encoding
scheme. This reverses the context to present it in the expected order.