Nao Yonashiro
|
95a32fc038
|
fix: forgot to update p after read
fix #386
|
2022-07-29 13:58:00 +09:00 |
Trim21
|
9a9f9adb05
|
fix encoder and decoder cache slice edge case
|
2022-07-10 09:15:33 +08: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 |
Nao Yonashiro
|
f0e6a549f2
|
fix: support for embedding alias of primitive types
fix #372
|
2022-07-04 14:46:17 +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
|
6726210c9c
|
Merge pull request #375 from orisano/fix/#339
fix: wrong the detection method of nilable
|
2022-06-30 02:18:57 +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 |
Nao Yonashiro
|
c07df9add6
|
feat: improve performance on linkRecursiveCode
fix #331
|
2022-05-03 04:03:05 +09:00 |
Nao Yonashiro
|
42805aa953
|
fix: add escape sequence validation
fix #335
|
2022-04-29 17:16:25 +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 |
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 |
Nao Yonashiro
|
6db1acfcb6
|
fix: to care about the case of OpInterfacePtr
fix #359
|
2022-04-22 00:38:20 +09:00 |
Nao Yonashiro
|
4311bab3dc
|
style: go fmt
|
2022-04-11 20:43:58 +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 |
Nao Yonashiro
|
321fe31260
|
feat: add DebugWith option
|
2022-03-25 05:13:32 +09:00 |
Nao Yonashiro
|
e43fb0f990
|
fix: add filtering on slow path
|
2022-03-25 03:03:25 +09:00 |
Nao Yonashiro
|
4235ca04c0
|
fix: an incompatible behavior on map key decoder
fix #342
The map key decoder has an incompatible behavior when the type kind is string and the type has UnmarshalJSON.
|
2022-03-24 09:35:14 +09:00 |
Nao Yonashiro
|
8c27bb4f29
|
Merge branch 'master' into fix/#348
|
2022-03-19 21:29:50 +09:00 |
Masaaki Goshima
|
47a26db8a2
|
Merge pull request #351 from orisano/fix/#350
fix: to safe when got unexpected typeptr
|
2022-03-19 21:27:34 +09:00 |
Nao Yonashiro
|
48f6412cd1
|
fix: to safe when got unexpected typeptr
|
2022-03-19 09:33:16 +09:00 |
Nao Yonashiro
|
6832682204
|
fix: mismatched between len(s.buf) and s.bufSize
close #348
|
2022-03-18 23:31:33 +09:00 |
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
|
0940ff3198
|
Fix the case where the embedded field is at the end
|
2022-01-20 23:23:51 +09:00 |
IncSW
|
4d0a50640b
|
fix omitempty string is nil for marshaler
|
2022-01-18 13:38:44 +03: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
|
f810369f2d
|
Fix encoding of MarshalText operation with head offset
|
2022-01-11 15:11:17 +09:00 |
Masaaki Goshima
|
acc66cf172
|
Fix MarshalIndent for interface type
|
2022-01-04 22:30:16 +09:00 |
Masaaki Goshima
|
6af83d9bdd
|
Refactor encoder
|
2022-01-03 22:42:04 +09:00 |
Masaaki Goshima
|
89bcc3be86
|
Supports dynamic filtering of struct fields
|
2022-01-03 12:33:51 +09:00 |
Masaaki Goshima
|
2a0ee24e6e
|
Add encoding option for performance
|
2021-12-30 11:54:29 +09:00 |
Masaaki Goshima
|
1bb8b16200
|
Optimize variables
|
2021-12-27 22:40:43 +09:00 |
Masaaki Goshima
|
2d022aa037
|
Remove unnecessary codes
|
2021-12-27 22:28:25 +09:00 |