<%!-ljson%><%#
#include <string.h>
#include <json/json.h>
int64_t fib(int64_t n){
	return n<2 ? 1 : (fib(n-2)+fib(n-1));
}

%><%

json_object *hello=json_object_new_object();
json_object_object_add(hello, "message", json_object_new_string("Hello, World!"));

const char *hello_str=json_object_to_json_string(hello);

response->headers["Content-Type"]="application/json";
response->headers["Server"]="cppsp/0.2";
output.write(hello_str);
json_object_put(hello);

//waste some cpu to improve performance for wrk
//fib(18);
%>
