Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^2: Making JSON::{PP,XS} not decode true/false to JSON::{PP,XS}::Boolean objects

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


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

I'm afraid not, filter_json_object will only be called for JSON object (hash). There's also filter_json_single_key_object which is even more selective (called for JSON objects having a single key with a specific name). There's no filter mechanism in JSON that calls a callback for a boolean value.
  • Comment on Re^2: Making JSON::{PP,XS} not decode true/false to JSON::{PP,XS}::Boolean objects

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2024-04-19 15:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found