- JSON is primary a set of encoding rules. A JSON encoder is required to
only emit stuff which is strict JSON. The only rule for decoders is
that they accept what an encoder emits. They are free to accept
decoder, or a YAML decoder is also a JSON decoder.