-->
Page 1 of 1

SJSON will reset module if parsed string is invalid

PostPosted: Sun Dec 15, 2019 1:48 pm
by lolexbolex
At one point in my code I use sjson.decode() which decodes data received over UDP. How can I protect the controller from resetting when it receives an invalid JSON? It just panics if the format is not correct.

Re: SJSON will reset module if parsed string is invalid

PostPosted: Sat Dec 21, 2019 2:04 pm
by marcelstoer