This commit is contained in:
huangsimin 2018-12-20 10:31:30 +08:00
parent dce7493eea
commit 310fcb9fac

View File

@ -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())