Thank you! I'll try it
Try jsony
Thank you for your reply. I now understand that parseJson is unlikely to be the
source of the crash.
I feel very sorry that I cannot present the source code.
It's much more likely the crash comes from wNim than from our JSON components,
no offense to wNim implied.
Your diagnosis of the problem doesn't sound right. Why would your program crash
just because of a slow component? What you should do is mock your calls to
parseJson so that it always returns a static JsonNode containing test values.
This would confirm that parsing JSON is the cause if the crashe
I'm using a library called wNim to create GUI software.
It is a chat client in Nim that uses WebSocket.
The server sends the data in JSON.
So I am using parseJson to parse JSON.
| However, when I run the software, the software suddenly crashes.
At first I couldn't figure out the cause