use proper JSON encoding/decoding
This commit is contained in:
parent
7023683b48
commit
bf9bd2f0d2
18 changed files with 54 additions and 54 deletions
|
|
@ -987,7 +987,7 @@ assetData.revisionDate
|
|||
my $jsonOutput;
|
||||
$jsonOutput->{ResultSet} = {Result=>\@results};
|
||||
|
||||
my $encodedOutput = JSON->new->utf8->encode($jsonOutput);
|
||||
my $encodedOutput = JSON->new->encode($jsonOutput);
|
||||
return $encodedOutput;
|
||||
}
|
||||
|
||||
|
|
@ -1090,7 +1090,7 @@ sub www_getCompareListData {
|
|||
|
||||
$session->http->setMimeType("application/json");
|
||||
|
||||
return JSON->new->utf8->encode($jsonOutput);
|
||||
return JSON->new->encode($jsonOutput);
|
||||
}
|
||||
#-------------------------------------------------------------------
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue