結果 : check if data is json javascript