Continuous use of parseJson causes software crash

2021-10-20 Thread nnahito
Thank you! I'll try it

Continuous use of parseJson causes software crash

2021-10-20 Thread ynfle
Try jsony

Continuous use of parseJson causes software crash

2021-10-20 Thread nnahito
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.

Continuous use of parseJson causes software crash

2021-10-20 Thread Araq
It's much more likely the crash comes from wNim than from our JSON components, no offense to wNim implied.

Continuous use of parseJson causes software crash

2021-10-19 Thread jasonfi
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

Continuous use of parseJson causes software crash

2021-10-19 Thread nnahito
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