Help for this page
... use JSON; ... # or if using Mojolicious $c->render(json => $ret_data);
my $ret_data = { 'status' => -1, # file was too big and I truncated it ... 'message-html' => "<b>success blah blah for $fileame but truncated</ +b>", 'data' => truncate($data) };