結果 : javascript check if string or json object