1 2 3 4 5 6 7 8 9 10
<% local view, viewlibrary, page_info = ... %> <% require("json") %> Status: 200 OK Content-Type: "application/json" <% io.write("\n") %> <% print(json.encode(view)) %>