Serialize JSON to string. std::string buf;. serializeJson(json, buf);. // Send response. httpd_resp_send(req, buf.c_str(), buf.length());.
確定! 回上一頁