in reply to How do I tell if my code is using JSON::PP or JSON::XS?

When I do Data::Dumper on some data, I’m seeing ‘JSON::PP::Boolean’ for the true/false values. Is that confirmation that the code uses PP or might that be a red herring?

It's a red herring: JSON, JSON::XS, Cpanel::JSON::XS, JSON::PP, and Mojo::JSON (and possibly more that I've missed) all use JSON::PP::Boolean to represent their boolean types.

  • Comment on Re: How do I tell if my code is using JSON::PP or JSON::XS?