Formatting and minifying
Formatting re-indents a document without touching what it holds: the parser reads it, and the serializer writes the same values back with two spaces, four spaces or tabs. Minifying is the same operation with the whitespace removed, which is what you want before putting a payload in a header, a query string or a fixture. Values, escapes and Unicode come back exactly as they went in.


