condense_json(input_json, replacements) scans the input JSON for strings or substrings present in the replacements object and replaces them with a special {"$r": ...} syntax in the output.
The author explains the core mechanism: condense_json replaces matching strings or substrings from a replacements object with a special {"$r": ...} syntax, illustrated with a README example.
transcript
The author: It scans for strings or substrings that are present in that replacements object and replaces those with a special {"$r": ...} syntax in the output.
extends · 1provides context · 1