0
Solution to SignalR error 'Unexpected token in JSON' when parsing event data
I’ve been writing some UI automation tests with Playwright and was trying to parse a SignalR event. Like so: const imageEvent = JSON.parse(event.payload.toString()) as ImageEvent; And I got this erro