![]() |
|
XP is just a number | |
PerlMonks |
Re^2: Making JSON::{PP,XS} not decode true/false to JSON::{PP,XS}::Boolean objectsby sedusedan (Pilgrim) |
on Oct 15, 2013 at 01:46 UTC ( [id://1058222]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|