結果 : how to check if a string is a valid json string in javascript