Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^6: How do I make the JSON module convert true/false to 1/0 instead of a blessed Boolean object?

by ikegami (Patriarch)
on Jan 04, 2022 at 15:06 UTC ( [id://11140136]=note: print w/replies, xml ) Need Help??


in reply to Re^5: How do I make the JSON module convert true/false to 1/0 instead of a blessed Boolean object?
in thread How do I make the JSON module convert true/false to 1/0 instead of a blessed Boolean object?

That's not what I was suggesting. JSON.pm isn't a JSON parser. It's merely a front end for JSON::PP and JSON::XS. The post to which I was replying suggested that boolean_values works when JSON.pm acts as a front end for JSON::PP, but doesn't work when it acts as a front-end for JSON::XS. I was stating that this is incorrect. It works for both back ends.

  • Comment on Re^6: How do I make the JSON module convert true/false to 1/0 instead of a blessed Boolean object?
  • Download Code

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2024-04-19 09:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found