Closed SachinTichkule closed 2 years ago
Maybe you did it wrong, based on your code, I presume this is what you want.
await MySocket.socket.EmitAsync(eventName: SocketEvents.login, ack: (response) =>
{
string json = response.GetValue().ToString();
jsonnode = JSON.Parse(json);
});
response.GetValue
i am using simplejson. this is example i have to remove square brackets in response from start and end point. after remove then gonna parse. i checkout in postman this is not from server end response. its from socket.io libraray. its add additional start and end square brackets. please fix this problem.