What minifying actually saves
Minifying JSON removes every byte that the parser does not need: the line breaks between entries, the indentation at the start of each line, and the spaces after colons and commas. Nothing inside a string literal is touched, and no key or value is altered. The result parses to exactly the same value as the input.
The saving depends entirely on how deeply nested the document is. A flat object with long string values might shrink by 5%, because most of the bytes are content rather than structure. A deeply nested configuration file with short keys and four-space indentation can lose 40% or more, because indentation dominates. Somewhere around 10-25% is typical for real API payloads.