From 97e70cc623517e7eb7bb624f672182759a9c143f Mon Sep 17 00:00:00 2001 From: Dylan Hardison Date: Thu, 3 Mar 2016 10:43:37 -0500 Subject: Bug 1253032 - Recent change to JSON::XS breaks some APIs --- Bugzilla/WebService/Server/JSONRPC.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'Bugzilla') diff --git a/Bugzilla/WebService/Server/JSONRPC.pm b/Bugzilla/WebService/Server/JSONRPC.pm index aa3d1ee75..b66bcaea1 100644 --- a/Bugzilla/WebService/Server/JSONRPC.pm +++ b/Bugzilla/WebService/Server/JSONRPC.pm @@ -62,6 +62,7 @@ sub create_json_coder { my $json = $self->SUPER::create_json_coder(@_); $json->allow_blessed(1); $json->convert_blessed(1); + $json->allow_nonref(1); # This may seem a little backwards, but what this really means is # "don't convert our utf8 into byte strings, just leave it as a # utf8 string." -- cgit v1.2.3-24-g4f1b