decode utf8 meraki
This commit is contained in:
parent
518be5177e
commit
a38f2f3427
|
@ -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: $@");
|
||||
|
|
Loading…
Reference in New Issue