for test
This commit is contained in:
parent
992aba1b3c
commit
faac5ca167
|
@ -44,7 +44,7 @@ func (tt *Toutiao) ToDoParser(adstring string) (string, error) {
|
|||
log.Println("test json -----------------------")
|
||||
var v interface{}
|
||||
|
||||
log.Println(gjson.Unmarshal([]byte(data), &v), gjson.Parse(data).Get("app").Exists())
|
||||
// log.Println(gjson.Unmarshal([]byte(data), &v), gjson.Parse(data).Get("app").Exists())
|
||||
|
||||
data = strings.Trim(data, "\"")
|
||||
unq, _ := strconv.Unquote("\"" + data + "\"")
|
||||
|
|
Loading…
Reference in New Issue
Block a user