This is the default formatter for floating point numbers. It writes numbers from 1e-3 to
1e6 as regular decimal numbers, and numbers outside that range in exponential representation.
A JsonNumber is the raw representation of a number. It is a parsed representation in the
sense that a JsonReader (more or less) verified that it is a valid JSON number, but it has
not been parsed into an actual Rust numeric type yet.
Represents a location in a parsed stream: offset as well as line and column. This location
is maintained by a JsonReader and is mostly useful to help pinpoint problems.
A JsonParseError represents the range of things that can go wrong while reading a JSON
stream: I/O error, byte sequences that are invalid UTF-8, violations of JSON tokenization
or grammar, and tokens that exceed the JsonReader’s configured token buffer size.
JsonFormatter controls how whitespace is added between JSON elements in the output. It does not
affect the JSON’s semantics, but only its looks and size.