Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

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

by haukex (Archbishop)
on Nov 16, 2020 at 16:10 UTC ( [id://11123699]=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11123699]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (6)
As of 2024-03-28 23:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found