A speed optimization, since JSON parsing speed is critical: If the parser is able to use slices of its input, store numbers as slices. Only convert them to numbers lazily, as the numeric conversion can take significant time.