You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there any way to accept both the char* AND length parameters into jsonParse()? For example, this is possible with rapidjson:
rapidjson::Document d;
d.Parse(json, length);
I'm looking to do this because I'm using a char* that is not null terminated from uWebsockets, but it does provide a length. If I add a null terminator (\0) to uWebsocket's char*, then uWebsockets has fatal issues after some time so I can't do this.
The text was updated successfully, but these errors were encountered:
Is there any way to accept both the char* AND length parameters into jsonParse()? For example, this is possible with rapidjson:
I'm looking to do this because I'm using a char* that is not null terminated from uWebsockets, but it does provide a length. If I add a null terminator (\0) to uWebsocket's char*, then uWebsockets has fatal issues after some time so I can't do this.
The text was updated successfully, but these errors were encountered: