What is the best way to handle Json exception, that application doesn’t shut down, for example i got reply from server Php generated Json, if there will be an error in generated Json Xojo will shut down with “An exception of class JSONException was not handled - nill object”.
A Try/Catch block
Dim Item As JSONItem
Item = New JSONItem
Catch Err As JSONException
// Do something else
Thank you Thom, this helped. Is there a way to display error in msgbox.
The Err.Message property may have more information for you to display. That’s the best you’ll get.