How Go's JSON Parser Avoids Reflection: The Scanner and the v2 Experiment
encoding/json scans and decodes in two separate passes over the input, caching every per-type decision, while the experimental v2 splits the grammar into a jsontext syntax layer …