in reply to Convert JSON to Perl and back with unicode
Yes, those modules do that, see Re^3: Handling utf-8 characters when scraping and Re^3: Data::Dumper with unicode. You could try Data::Printer, although as I mention in those links, you may miss differences in whitespace characters or others, such as the difference between ä and ä.
You mention JSON in the title, what does this have to do with it? You definitely shouldn't use any of the above modules for JSON, even if it's hinted in one or two places, because they are primarily debugging tools, and less serialization modules (even though they're sometimes used as such, even by myself). Use JSON::MaybeXS...
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Convert JSON to Perl and back with unicode
by bliako (Monsignor) on Apr 08, 2020 at 23:00 UTC | |
by haukex (Archbishop) on Apr 08, 2020 at 23:15 UTC |
In Section
Seekers of Perl Wisdom