I’ve been working on a CPAN module called JSON::JSONFold , and I wrote an article describing the motivation and design. I’d really appreciate feedback from other Perl developers. JSON serializers tend to give us two choices: compact JSON, which is efficient but a dense wall of text that’s painful to read, or pretty-printed JSON, which is readable but often wastes a lot of vertical space (a small array of numbers can turn into ten lines).