Module chisel_json::decoders

source ·
Expand description

Both the DOM and SAX parser implementations operate over a stream of chars produced by some flavour of iterator. By default, this iterator is based on a decoder that will take a stream of bytes from an underlying source, and convert into a stream of chars.

The DecoderSelector implemented within this module is used to instantiate new char iterators, based on different encodings. (Although at present, only UTF-8 is supported).

Structs

  • A struct that is essentially a factory for creating new instances of char iterators, based on a specified encoding type

Enums

  • Enumeration of different supported encoding types