Yi Duan
|
8caa4eef05
|
fix: check nil pointer for Marshaler (#194)
|
2022-02-25 18:00:57 +08:00 |
|
Yi Duan
|
5be8dafe41
|
fix: premature GC on decoding string (#187)
* fix: cast `[]byte` to `string` for `Unmarshal()`
* fix: store `Decoder.s` to `_Stack` to avoid premature GC
* fix: add gcwritebarrir for `op_str`
|
2022-02-15 16:41:53 +08:00 |
|
Yi Duan
|
22229eefc3
|
fix: relocate stack pointers (#156)
* fix: relocate stack pointer _VAR_sv to keep it alive
* fix: add stack pointer _VAR_vk to defend `encoding.TextUnmarshaler`
* fix: align faker func's stack with JIT func's
* fix: clear _Stack memory when err returned
* fix: clear stack pointer before return
* fix: relimit stack-overflow check at `_ValueDecoder`
Co-authored-by: duanyi.aster <duanyi.aster@bytedance.com>
|
2021-12-20 16:19:12 +08:00 |
|
liu
|
d5104197c4
|
fix: 'string' option in struct tag as encoding/json (#148)
Co-authored-by: liuqiang <liuqiang.06@bytedance.com>
|
2021-12-03 15:46:09 +08:00 |
|
Yi Duan
|
49df11ef83
|
feat: adjust ABI for supporting go1.17 (#116)
* feat: adjust encoder ABI for supporting go1.17
* binding
* generic
* opt: exchange R10/R11 with BX/BP when call c func
* fmt
Co-authored-by: duanyi.aster <duanyi.aster@bytedance.com>
|
2021-11-30 18:47:17 +08:00 |
|
liu
|
c27120f2bc
|
fix: correct the field priority as encoding/json when unmarshal to struct (#142)
|
2021-11-30 10:28:50 +08:00 |
|
liu
|
49fc705341
|
feat: Pretouch recursively for large/deep struct (#137)
|
2021-11-26 14:12:51 +08:00 |
|
liu
|
9a95e9de00
|
test: fix timeout problem in issue_test when enable force GC (#135)
Co-authored-by: liuqiang <liuqiang.06@bytedance.com>
|
2021-11-19 14:10:19 +08:00 |
|
Yi Duan
|
0f66ab7211
|
fix: add stack memory at _VAR_vp to pass the address of vp while recursing (#129)
Co-authored-by: duanyi.aster <duanyi.aster@bytedance.com>
|
2021-11-09 12:47:05 +08:00 |
|
Yi Duan
|
3eade82a01
|
fix: add gcGuard to prevent GC during Marshal()/Unmarshal() (#122)
Co-authored-by: duanyi.aster <duanyi.aster@bytedance.com>
|
2021-10-28 17:02:37 +08:00 |
|
liuqiang
|
fe56a21bf5
|
fix: make it return error when unmarshal invalid base64-encoded strings
|
2021-10-21 18:20:04 +08:00 |
|
liu
|
0a710eeb9d
|
fix: make it sorted when marshalling integer key map (#117)
|
2021-10-18 19:31:33 +08:00 |
|
liu
|
3eca433cb9
|
fix: marshal struct field with omitempty tag as encoding/json (#114)
|
2021-10-12 15:14:39 +08:00 |
|
liu
|
530d423243
|
fix: make it parse the UTF-16 surrogate pair after invalid unicode (#111)
|
2021-09-24 16:33:02 +08:00 |
|
liu
|
a7ace8cd03
|
fix: skip exponent number that begin with zero in skip_number() (#109)
|
2021-09-23 15:02:09 +08:00 |
|
Yi Duan
|
a577eafc25
|
refactor: make it more readable (#104)
Co-authored-by: duanyi.aster <duanyi.aster@bytedance.com>
|
2021-09-18 11:31:25 +08:00 |
|