Commit Graph

45 Commits

Author SHA1 Message Date
Nao Yonashiro 6f811065b6 feat: improves escapeString's performance 2022-03-13 08:42:55 +09:00
Nao Yonashiro f714c3961d fix: to care ints minimum values
close #343
2022-03-12 23:43:03 +09:00
Masaaki Goshima f352b8732a
Merge pull request #334 from orisano/feat-improve-performance-escaped
feat: improve performance when a payload contains escape sequence
2022-03-04 20:53:41 +09:00
Masaaki Goshima 58b524e43e
Merge pull request #338 from orisano/fix/#337
fix: avoid reading the next character in buffer to nul consideration
2022-03-04 20:51:40 +09:00
Nao Yonashiro accf52d695 fix: incorrect handling on skipValue
close #340
2022-03-04 20:01:05 +09:00
Nao Yonashiro 81519c48d8 fix: avoid reading the next character in buffer to nul consideration
fix #337
2022-02-22 19:22:48 +09:00
Nao Yonashiro 4bd7d2399f feat: improve performance when a payload contains escape sequence 2022-02-12 17:25:52 +09:00
Nao Yonashiro c05e1e23ee fix: panic when decoding time.Time with context
close #327
2022-01-26 01:02:27 +09:00
Masaaki Goshima 50b494bc5f
Fix logic of removing struct field for decoder 2022-01-14 20:18:18 +09:00
Masaaki Goshima b5a50f75eb
Add invalid decoder to delay type error judgment at decode 2022-01-13 18:09:48 +09:00
Masaaki Goshima d494b03b74 Fix decoding of map type that contains indirect element type 2021-08-31 12:21:08 +09:00
Masaaki Goshima 284c108638 Fix mapassign 2021-08-30 11:40:10 +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
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 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 bf35de8f91 Fix assign nil slice value 2021-08-13 15:49:53 +09:00
Masaaki Goshima 75a6ad40b9 Fix decoding of binary type with escaped char 2021-08-12 13:52:00 +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
Preetham Narayanareddy 2aeb1769a2 Fix decoding of []byte type 2021-06-24 14:42:26 -07:00
Kiraub e94f0cd362
Merge branch 'goccy:master' into master 2021-06-23 17:44:36 +02:00
ebauer 5f0b34250c funcDecoder: handle cases of value being true or false 2021-06-23 15:51:42 +02:00
ebauer a7d041a3d4 gofmt -s 2021-06-23 15:22:40 +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
IncSW 9a2f108208
fix array stream decoder 2021-06-15 19:05:12 +03:00
IncSW 1037421a83
fix error when unmarshal empty array 2021-06-15 18:19:39 +03:00
Masaaki Goshima cd7fb7392f Support context for MarshalJSON and UnmarshalJSON 2021-06-12 17:06:26 +09:00
Masaaki Goshima 5c39787fbd Enable FirstWin option for stream decoder 2021-06-06 11:24:56 +09:00
Masaaki Goshima 34b7053412 Fix decoder option flag 2021-06-06 11:11:04 +09:00
Masaaki Goshima a69176cd30 Fix decoder 2021-06-06 11:01:55 +09:00
Masaaki Goshima 3c0e1b5e8c Fix stream buffer length 2021-06-06 10:52:55 +09:00
Masaaki Goshima 5e281e340f Fix decoder 2021-06-05 16:00:17 +09:00
Masaaki Goshima cbda08a525 Add DecodeFieldPriorityFirstWin option 2021-06-05 13:00:26 +09:00
Masaaki Goshima b074c98070 Use RuntimeContext 2021-06-05 01:08:27 +09:00
Masaaki Goshima f0b4077914 Add DecodeOption 2021-06-05 00:27:02 +09:00
Masaaki Goshima e7b7118f4e Fix skipWhiteSpace for stream decoder 2021-06-04 14:59:43 +09:00
Masaaki Goshima a973797e61 Fix init buffer 2021-06-04 12:41:18 +09:00
Masaaki Goshima c35c3242b6 Merge branch 'master' of github.com:goccy/go-json into feature/refactor-decoder 2021-06-03 19:38:01 +09:00
Masaaki Goshima c41c158a56 Fix error by linter 2021-06-03 19:10:17 +09:00
Masaaki Goshima de4e97ed09 Remove unnecessary prefix 2021-06-03 18:57:41 +09:00
Masaaki Goshima 5a024ca2f1 Fix package layout for decoder 2021-06-03 18:49:01 +09:00