\Tina4\Get::add("/api/test", function (\Tina4\Response $response){ $jsonObject = ["hello" => "world!"]; return $reponse ($jsonObject); });