diff --git a/parser_test.go b/parser_test.go index 7bb41be..769b3c7 100644 --- a/parser_test.go +++ b/parser_test.go @@ -49,6 +49,7 @@ func (tt *Toutiao) ToDoParser(adstring string) (string, error) { unq, _ := strconv.Unquote("\"" + data + "\"") log.Println(gjson.Unmarshal([]byte(data), &v), gjson.Parse(data).Exists()) data = unq + log.Println(gjson.Unmarshal([]byte(data), &v), gjson.Parse(data).Exists()) result := gjson.Parse(data) log.Println(result.String())