tidwall / gjson

Get JSON values quickly - JSON parser for Go
MIT License
14.1k stars 846 forks source link

json contains json problem #254

Closed WenRuige closed 2 years ago

WenRuige commented 2 years ago

my json str is json:={\n\t\"a\": 2,\n\t\"b\": \"[{\\"a\\":2,\\"v\\":1}]\"\n}
use gjson.Valid(json) return false

WenRuige commented 2 years ago

my problem