結果 : javascript check if variable is json or string