2
0
Fork 0
mirror of https://github.com/ii64/sonic.git synced 2026-06-21 00:46:43 +08:00
sonic/decoder
liu de2dc2c35a
add ValidateString option into decode (#253)
* fix: add escape validate

* feat: add validatestring option

* add print debug

* add jit debug in decoder

* fix go1.16 decoder debug

* fix: not change others

* fix generic parse bug

* remove debug info

* test twitter json

* fix: option typos

* test: add bug test

* fix validate bugs

* fix: validate

* remove files

* re-compile

* update license

* add flags on `skip_xxx()`

* fix internal native tests

* re-compile

* add validstring for perftest

* modify api

* fix readme

* fix comment

* add license

* rename to ValidateString

* fix xprintf.h

* add debug

Co-authored-by: liuqiang <liuqiang.06@bytedance.com>
Co-authored-by: duanyi.aster <duanyi.aster@bytedance.com>
2022-08-11 19:06:11 +08:00
..
asm.s feat: rewrite generic decoder in Go, using Finite State Machine 2021-06-16 23:05:21 +08:00
assembler_amd64_go116.go add ValidateString option into decode (#253) 2022-08-11 19:06:11 +08:00
assembler_amd64_go117.go add ValidateString option into decode (#253) 2022-08-11 19:06:11 +08:00
assembler_test.go feat: support Go1.18 (#205) 2022-03-28 20:43:43 +08:00
compiler.go fix: 'string' option in struct tag as encoding/json (#148) 2021-12-03 15:46:09 +08:00
compiler_test.go feat: Pretouch recursively for large/deep struct (#137) 2021-11-26 14:12:51 +08:00
debug.go feat: adjust ABI for supporting go1.17 (#116) 2021-11-30 18:47:17 +08:00
decoder.go add ValidateString option into decode (#253) 2022-08-11 19:06:11 +08:00
decoder_test.go fix: useint64 in decode SetOption (#268) 2022-07-25 14:26:18 +08:00
errors.go feat: support streaming IO (#225) 2022-05-24 10:38:43 +08:00
errors_test.go fix: allow string value decoded as json.Number (#196) 2022-02-28 20:14:38 +08:00
generic_amd64_go116.go fix:(decoder) didn't check ',' before object key due to imperfect FSM (#261) 2022-07-08 11:12:34 +08:00
generic_amd64_go117.go feat: support Go 1.19 (#275) 2022-08-09 12:54:11 +08:00
generic_amd64_go117_test.s feat: support Go 1.19 (#275) 2022-08-09 12:54:11 +08:00
generic_amd64_test.s feat: adjust ABI for supporting go1.17 (#116) 2021-11-30 18:47:17 +08:00
generic_test.go feat: adjust ABI for supporting go1.17 (#116) 2021-11-30 18:47:17 +08:00
norace_test.go fix: allow string value decoded as json.Number (#196) 2022-02-28 20:14:38 +08:00
pools.go fix:(encoder) keep arguement buf alive (#166) 2021-12-31 17:15:35 +08:00
primitives.go fix: move large-size local array to _Stack (#162) 2021-12-30 14:51:23 +08:00
stream.go fix:(native) StreamDecoder returns error when run out of buffer while skiping value (#267) 2022-07-25 15:17:52 +08:00
stream_test.go fix:(native) StreamDecoder returns error when run out of buffer while skiping value (#267) 2022-07-25 15:17:52 +08:00
stubs.go feat:(decoder) add option CopyString() (#192) 2022-02-28 18:46:25 +08:00
testdata_test.go chore: make it open-source 2021-05-28 23:58:58 +08:00
types.go chore: make it open-source 2021-05-28 23:58:58 +08:00
utils.go feat: rewrite the generic decoder in assembly 2021-06-21 11:34:18 +08:00