in reply to Re: Factory classes in Perlin thread Factory classes in Perl
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.
🦛