ad1 SEE ALSO L<JSON> should also encode to a single-line string, but some data structures (cyclical, contains globs or other special Perl data) cannot be encoded out of the box to JSON. L<Data::Dump