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