Decoded JSON booleans are objects:
#!/usr/bin/env perl use strict; use warnings; use Data::Dumper; use JSON; my $json_string = \'{\"boolean_field\":true}\'; m
It will be a truthy value in Perl. Just access it as normal.
print 'true' if $decoded_json->{'boolean_field'};