There is a module, JSON::Any, which handles this decision for us
As a word to the wise, be aware that JSON::Any is deprecated in favour of JSON::MaybeXS.
🦛
In reply to Re^2: Factory classes in Perl
by hippo
in thread Factory classes in Perl
by Bod
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |