decode utf8 meraki

This commit is contained in:
garnier-quentin 2020-10-08 15:56:26 +02:00
parent 518be5177e
commit a38f2f3427
1 changed files with 1 additions and 1 deletions

View File

@ -221,7 +221,7 @@ sub request_api {
my $content;
eval {
$content = JSON::XS->new->allow_nonref(1)->decode($response);
$content = JSON::XS->new->utf8->allow_nonref(1)->decode($response);
};
if ($@) {
$self->{output}->add_option_msg(short_msg => "Cannot decode json response: $@");