The best way to catch invalid JSON parsing errors is to put the calls to JSON.parse() to a try/catch block.
確定! 回上一頁