srctree

Gregory Mullen parent e6f615e9 b2c3d5ee
remove response from sendjson

src/verse.zig added: 2, removed: 2, total 0
@@ -237,7 +237,7 @@ pub fn sendJSON(vrs: *Verse, json: anytype, comptime code: std.http.Status) !voi
@compileError("Sending JSON is not supported with status code no content");
}
 
vrs.response.status = code;
vrs.status = code;
try vrs.quickStart();
const data = std.json.stringifyAlloc(vrs.alloc, json, .{
.emit_null_optional_fields = false,