Commit Graph

1049 Commits

Author SHA1 Message Date
Masaaki Goshima 4cf345ebdf
Merge pull request #383 from KimHyeonwoo/master
Fix unexpected behavior when buffer ends with backslash
2022-08-03 21:18:37 +09:00
KimHyeonwoo f83142d838 replace statForRetry with stat (review reflected) 2022-08-02 12:07:48 +09:00
Masaaki Goshima a75c1c6096
Merge pull request #387 from orisano/fix/#386
Fix stream decoding of escaped character
2022-08-01 20:28:38 +09:00
Nao Yonashiro 95a32fc038 fix: forgot to update p after read
fix #386
2022-07-29 13:58:00 +09:00
Tommy Hyeonwoo Kim e5e8ed62c8
Update decode_test.go
Co-authored-by: Sungyun Hur <ethan0311@gmail.com>
2022-07-19 00:06:47 +09:00
KimHyeonwoo f584919518 fix testcase to more clear one 2022-07-18 22:15:35 +09:00
KimHyeonwoo 229339ecd5 add more test 2022-07-18 22:03:42 +09:00
KimHyeonwoo 3e25104a7c fix cursor issue for `skipArray`, `skipValue` 2022-07-18 21:35:32 +09:00
KimHyeonwoo 61705df089 add test 2022-07-18 21:34:12 +09:00
KimHyeonwoo 70d6286ba8 fix cursor issue 2022-07-18 19:41:08 +09:00
Masaaki Goshima 3eafdb6129
Update CHANGELOG 2022-07-15 19:12:47 +09:00
Masaaki Goshima f244348d43
Merge pull request #382 from Trim21/fix/381
Fix boundary exception of type caching
2022-07-15 19:10:22 +09:00
Masaaki Goshima 190c2e30bd
Update CHANGELOG 2022-07-15 16:59:13 +09:00
Trim21 9a9f9adb05
fix encoder and decoder cache slice edge case 2022-07-10 09:15:33 +08:00
Masaaki Goshima a812201b02
Merge pull request #380 from orisano/fix/#374
Fix unicode decoding when the expected buffer state is not met after reading
2022-07-10 02:02:16 +09:00
Nao Yonashiro 79d8df005a
Merge branch 'master' into fix/#374 2022-07-07 15:12:08 +09:00
Masaaki Goshima 88aa13e300
Fix comment for #379 2022-07-07 14:52:28 +09:00
Masaaki Goshima 8459403e25
Merge pull request #379 from orisano/fix/#370
Fix slice/array type encoding with types implementing MarshalJSON
2022-07-07 14:46:02 +09:00
Nao Yonashiro 8f5055b06a fix: In decodeUnicode, the case that the expected buffer's state is not satisfied after reading.
fix #374
2022-07-07 00:42:31 +09:00
Nao Yonashiro 565e07e45c fix: change isPtr to true on listElemCode
fix #370
2022-07-06 16:47:00 +09:00
Masaaki Goshima 554506d1f4
Merge pull request #378 from orisano/fix/#372
Fix embedded primitive type encoding using alias
2022-07-05 14:21:31 +09:00
Nao Yonashiro f0e6a549f2 fix: support for embedding alias of primitive types
fix #372
2022-07-04 14:46:17 +09:00
Masaaki Goshima 1468eefb01
Merge pull request #377 from orisano/fix/#376
Fix encoding of directed interface with typed nil
2022-07-04 14:07:04 +09:00
Nao Yonashiro 884b8dbf9a refactor: to check for IsDirectedNil only if ifacePtr == nil 2022-07-03 22:39:31 +09:00
Nao Yonashiro c8d6da88dd fix: confusing nil in direct interface with typed nil
fix #376
2022-07-03 06:05:26 +09:00
Masaaki Goshima 27bd0f2aab
Update CHANGELOG 2022-06-30 02:38:52 +09:00
Masaaki Goshima 6726210c9c
Merge pull request #375 from orisano/fix/#339
fix: wrong the detection method of nilable
2022-06-30 02:18:57 +09:00
Masaaki Goshima 23bd66f4c0
Merge pull request #369 from zeroshade/stream-number-fix
Fix stream tokenizing respecting UseNumber
2022-05-07 03:59:58 +09:00
Matthew Topol 865b215890 fix stream tokenizing respecting UseNumber 2022-05-05 12:12:27 -04:00
Nao Yonashiro 2ea7ab6e24 fix: wrong the detection method of nilable
fix #339
2022-05-04 23:40:12 +09:00
Masaaki Goshima 3fdc55a60a
Merge pull request #368 from orisano/fix/#331
Improve performance on linkRecursiveCode
- cache linked recursive codes for compile
2022-05-03 13:59:05 +09:00
Nao Yonashiro c07df9add6 feat: improve performance on linkRecursiveCode
fix #331
2022-05-03 04:03:05 +09:00
Masaaki Goshima 41b2e78a03
Merge pull request #367 from orisano/fix/#335
Fix validation of decoding of UTF-8 character
2022-05-02 14:07:50 +09:00
Nao Yonashiro 42805aa953 fix: add escape sequence validation
fix #335
2022-04-29 17:16:25 +09:00
Masaaki Goshima 83eb186989
Merge pull request #366 from orisano/fix/#362
Fix struct type processing with embedded primitive type
2022-04-28 21:37:19 +09:00
Nao Yonashiro 66f8b2629d chore: use reflect.Ptr 2022-04-28 20:30:06 +09:00
Nao Yonashiro 944f8be027 chore: remove IsExported 2022-04-28 20:24:46 +09:00
Masaaki Goshima 7719c4e239
Merge pull request #365 from orisano/fix/#364
fix: care surrogate-pair for non stream string decoder
2022-04-28 18:33:39 +09:00
Nao Yonashiro af33c47846 fix: determining embedded structs was wrong
fix #362
2022-04-26 14:16:28 +09:00
Nao Yonashiro 6911114fb4 fix: to care surrogate-pair on stringDecoder
fix #364
2022-04-26 01:40:44 +09:00
Masaaki Goshima 22be3b9a93
Update CHANGELOG 2022-04-22 01:14:59 +09:00
Masaaki Goshima 337d02ffe6
Merge pull request #363 from orisano/fix/#359
fix: to care about the case of OpInterfacePtr
2022-04-22 01:02:20 +09:00
Nao Yonashiro 6db1acfcb6 fix: to care about the case of OpInterfacePtr
fix #359
2022-04-22 00:38:20 +09:00
Masaaki Goshima 171d975753
Merge pull request #361 from orisano/fix/#360
fix: add a fallback uint8 sliceDecoder to bytesDecoder
2022-04-13 00:41:29 +09:00
Nao Yonashiro 0da28e819a chore: add disable 2022-04-12 12:47:36 +09:00
Nao Yonashiro 4311bab3dc style: go fmt 2022-04-11 20:43:58 +09:00
Nao Yonashiro 5c2b1916eb chore: update golangci-lint version 2022-04-11 18:28:11 +09:00
Nao Yonashiro d9df77a119 fix: add a fallback uint8 sliceDecoder to bytesDecoder
fix #360
2022-04-07 18:10:49 +09:00
Masaaki Goshima 3a4ad31980
Merge pull request #356 from orisano/feat/add-debug-with
feat: add DebugWith option
2022-03-26 00:57:17 +09:00
Masaaki Goshima 54362b465e
Merge pull request #355 from orisano/fix/add-filtering-on-slow-path
fix: add filtering on slow path
2022-03-26 00:54:23 +09:00