Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^4: Making JSON::{PP,XS} not decode true/false to JSON::{PP,XS}::Boolean objects (source)

by sedusedan (Monk)
on Oct 15, 2013 at 04:23 UTC ( [id://1058235]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Making JSON::{PP,XS} not decode true/false to JSON::{PP,XS}::Boolean objects (source)
in thread Making JSON::{PP,XS} not decode true/false to JSON::{PP,XS}::Boolean objects

How were you going to figure this out without going to the source?

What I meant was without modifying the source.

That's a bit unfortunate about having to use references instead of 1/0 (or !!1 / !!0). I still prefer JSON::XS though, for the speed, and if JSON::XS + Data::Clean::FromJSON proves to be not fast enough later on, I'll create an (initially private) fork of JSON::XS.

Thanks!

  • Comment on Re^4: Making JSON::{PP,XS} not decode true/false to JSON::{PP,XS}::Boolean objects (source)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2024-04-24 11:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found