http://www.perlmonks.org?node_id=1058203


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

Data::Visitor::Callback is my favourite recursor for this purpose.