From 310fcb9facc2cc6635045ff452881cc7ef9f99d9 Mon Sep 17 00:00:00 2001 From: huangsimin Date: Thu, 20 Dec 2018 10:31:30 +0800 Subject: [PATCH] for test --- parser_test.go | 1 + 1 file changed, 1 insertion(+) 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())