From 431be538b16dd97654f5c3fe49ad3b2bd32a2532 Mon Sep 17 00:00:00 2001 From: garnier-quentin Date: Tue, 5 May 2020 17:55:09 +0200 Subject: [PATCH] enhance cisco meraki --- network/cisco/meraki/cloudcontroller/restapi/custom/api.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/network/cisco/meraki/cloudcontroller/restapi/custom/api.pm b/network/cisco/meraki/cloudcontroller/restapi/custom/api.pm index c70f0b2df..86243d21c 100644 --- a/network/cisco/meraki/cloudcontroller/restapi/custom/api.pm +++ b/network/cisco/meraki/cloudcontroller/restapi/custom/api.pm @@ -180,7 +180,7 @@ sub request_api { my $content; eval { - $content = JSON::XS->new->utf8->decode($response); + $content = JSON::XS->new->allow_nonref(1)->utf8->decode($response); }; if ($@) { $self->{output}->add_option_msg(short_msg => "Cannot decode json response: $@");