gojay

high performance JSON encoder/decoder with stream API for Golang
git clone git://git.lair.cx/gojay
Log | Files | Refs | README | LICENSE

commit 6280b979fccbdb73fb283a14c091111d0d6013ee
parent 4bc096c9a008235e9308f69fdd1a4cffdadbe824
Author: francoispqt <francois@parquet.ninja>
Date:   Sun, 26 Aug 2018 22:18:07 +0800

add test to skip object

Diffstat:
Mdecode_object_test.go | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/decode_object_test.go b/decode_object_test.go @@ -1413,6 +1413,10 @@ func TestSkipObject(t *testing.T) { json: `"key":"value\\\\\\\" hello"}`, }, { + name: "basic-escaped", + json: `"key":"value\\\\\\\\"}`, + }, + { name: "basic-err", json: ``, err: true,