thanks for your great library! I use it to answer a GET with JSON and can imagine that is of interest for others, too. Perhaps you want to add a lws_http_json helper function like: static int lws_http ...
The condense_json function searches a JSON-like object for strings that contain specified replacement substrings. It replaces these substrings with a compact representation, making the JSON more ...