```{index} single: decode_json (JSON::PP) ``` ```{index} single: JSON::PP::decode_json ``` # decode_json UTF-8 encoded JSON text to Perl data. ## Synopsis ```perl use JSON::PP; my $data = decode_json '{"list":[1,true,null]}'; ``` ## What you get back The Perl structure: `JSON::PP->new->utf8->decode($bytes)`. `true` and `false` are `$JSON::PP::true` and `$JSON::PP::false`. Exported by default.