修复gparser包SetViolenceCheck方法

This commit is contained in:
John
2018-07-01 00:33:49 +08:00
parent cd9a25a996
commit 12713b5dc8

View File

@ -49,7 +49,7 @@ func (p *Parser) SetSplitChar(char byte) {
// 设置自定义的层级分隔符号
func (p *Parser) SetViolenceCheck(check bool) {
p.SetViolenceCheck(check)
p.json.SetViolenceCheck(check)
}
// 将指定的json内容转换为指定结构返回查找失败或者转换失败目标对象转换为nil