Commit Graph

1050 Commits

Author SHA1 Message Date
Masaaki Goshima dc410838e9
Merge pull request #280 from orisano/fix-issue-278
fix: fixed buffer length bug on string decoder
2021-08-25 13:10:57 +09:00
Nao Yonashiro e8637832dd style: gofmt 2021-08-25 11:25:00 +09:00
Nao Yonashiro ae9148555a
Merge branch 'master' into fix-issue-278 2021-08-25 11:23:59 +09:00
Masaaki Goshima 8ebef3b42d
Merge pull request #279 from orisano/fix-utf-8-handling
fix: fixed invalid utf8 on stream decoder
2021-08-25 11:19:49 +09:00
Nao Yonashiro ac41fbec94 fix: fixed buffer length bug on string decoder
close #278
2021-08-25 07:23:34 +09:00
Nao Yonashiro e1e6c41c66 fix: fixed invalid utf8 on stream decoder 2021-08-25 06:15:15 +09:00
Masaaki Goshima deb13af3c6 Update CHANGELOG 2021-08-13 17:32:20 +09:00
Masaaki Goshima 68022098ad
Merge pull request #277 from goccy/feature/improve-error-message
Improve error message
2021-08-13 17:29:27 +09:00
Masaaki Goshima 08c2e1abef Improve error message 2021-08-13 17:05:07 +09:00
Masaaki Goshima d7cdabe600
Merge pull request #276 from goccy/feature/fix-nil-slice
Fix assign nil slice value
2021-08-13 16:27:40 +09:00
Masaaki Goshima bf35de8f91 Fix assign nil slice value 2021-08-13 15:49:53 +09:00
Masaaki Goshima 14f03c1e6d Update CHANGELOG 2021-08-12 16:16:08 +09:00
Masaaki Goshima ce8be46a39
Merge pull request #273 from goccy/feature/fix-decoding-binary-type
Fix decoding of binary type with escaped char
2021-08-12 14:42:08 +09:00
Masaaki Goshima 75a6ad40b9 Fix decoding of binary type with escaped char 2021-08-12 13:52:00 +09:00
Masaaki Goshima a68e5b89a5
Merge pull request #272 from goccy/feature/fix-embedded-field
Fix encoding of embedded struct that isn't first field
2021-08-12 13:23:44 +09:00
Masaaki Goshima 104829e78f Fix encoding of embedded struct that isn't first field 2021-08-12 13:03:34 +09:00
Masaaki Goshima a1780c18a6
Merge pull request #265 from peterlimg/master
Fix encode issue for embed struct with tags
2021-08-12 12:10:40 +09:00
peterlimg 91e691adc5
Fix decodeEscapeString err
`p` was not updated after the `stream.buf` is reallocated
2021-07-27 21:53:59 +10:00
peterlimg ad245e5323
Fix incorrect indent 2021-07-22 17:22:07 +10:00
peterlimg a95c5abe6c
Fix indent issue for embed struct with tag 2021-07-22 14:54:11 +10:00
peterlimg ac9a7dd8e3
Fix encode issue for embed struct with tag 2021-07-20 23:14:26 +10:00
Masaaki Goshima 85a5597342 Update README 2021-07-06 14:23:47 +09:00
Masaaki Goshima 2a705c956c Update CHANGELOG 2021-07-06 14:23:04 +09:00
Masaaki Goshima 0a7e5d9001
Merge pull request #264 from goccy/feature/fix-indirect
Fix encoding of indirect layout structure
2021-07-05 21:57:16 +09:00
Masaaki Goshima 902856929d Fix indirect layout 2021-07-05 20:30:35 +09:00
Masaaki Goshima 36a91cc8e8 Update CHANGELOG 2021-06-29 11:53:24 +09:00
Masaaki Goshima 20fe381daf
Merge pull request #262 from goccy/feature/fix-issue261
Fix encoding of pointer type in empty interface
2021-06-29 11:51:53 +09:00
Masaaki Goshima 1400b498ab Fix encoding of pointer type in empty interface 2021-06-29 11:35:37 +09:00
Masaaki Goshima 8129998093
Merge pull request #260 from goccy/feature/improve-interface-perf
Improve encoding performance for empty interface type
2021-06-26 16:37:35 +09:00
Masaaki Goshima 66bf979e47 Improve encoding performance for empty interface type 2021-06-26 15:49:13 +09:00
Masaaki Goshima 595e20a25e Update CHANGELOG 2021-06-26 11:15:39 +09:00
Masaaki Goshima 3829400241
Merge pull request #259 from goccy/feature/improve-encoding-interface-perf
Improve encoding performance of empty interface type
2021-06-25 23:06:45 +09:00
Masaaki Goshima 12e4bdc2f2 Fix dump of opcode 2021-06-25 22:55:00 +09:00
Masaaki Goshima f93d82dee6 Fix storeIndent 2021-06-25 22:27:00 +09:00
Masaaki Goshima 994dc9ea9d Fix encoding of empty interface type 2021-06-25 20:17:12 +09:00
Masaaki Goshima 923c0f789e
Merge pull request #258 from preethamrn/fix-bytes-decodestream
Fix decoding of []byte type
2021-06-25 12:27:02 +09:00
Preetham Narayanareddy 2aeb1769a2 Fix decoding of []byte type 2021-06-24 14:42:26 -07:00
Masaaki Goshima 397a4e45d3
Merge pull request #257 from Kiraub/master
Add decoder for func type
2021-06-24 11:59:55 +09:00
Kiraub 9d9e5cd11a inline nilfunc to nil comparison 2021-06-23 19:10:00 +02:00
Kiraub 6a81ba12dd reverted helper 2021-06-23 19:09:20 +02:00
Kiraub e94f0cd362
Merge branch 'goccy:master' into master 2021-06-23 17:44:36 +02:00
ebauer 4fe8e6f172 change assertEq check 2021-06-23 16:00:41 +02:00
ebauer 5f0b34250c funcDecoder: handle cases of value being true or false 2021-06-23 15:51:42 +02:00
Masaaki Goshima f7eceb1ff9
Merge pull request #254 from goccy/feature/add-sonic-to-benchmark
Add bytedance/sonic to benchmark target
2021-06-23 22:30:15 +09:00
ebauer a7d041a3d4 gofmt -s 2021-06-23 15:22:40 +02:00
Masaaki Goshima 4f9edb7bc0
Merge pull request #256 from goccy/feature/improve-map-decoder-perf
Improve performance of decoding map
2021-06-23 22:11:29 +09:00
ebauer d34d79600a add func Unmarshal tests 2021-06-23 14:22:58 +02:00
ebauer 585ce46b31 add func decoder 2021-06-23 14:22:24 +02:00
Masaaki Goshima 80c460c74b Fix error by linter 2021-06-23 17:42:30 +09:00
Masaaki Goshima ff12fbbe9b Use mapassign_faststr to decode map whose key type is string 2021-06-23 17:23:09 +09:00