Commit Graph

45 Commits

Author SHA1 Message Date
Masaaki Goshima 917f71bbcf Fix decoding fields containing escaped characters for stream decoder 2021-06-03 15:00:31 +09:00
Masaaki Goshima c128c8c915 Fix decoding fields containing escaped characters 2021-06-02 17:23:32 +09:00
Masaaki Goshima 33f2568d47 Refactor validator for null/true/false 2021-05-09 03:05:36 +09:00
Masaaki Goshima 03e2c96136 Fix stream decoder for slow reader 2021-05-03 16:25:26 +09:00
Masaaki Goshima f8fd59516b Fix decoding of deep recursive structure 2021-02-18 19:05:06 +09:00
Masaaki Goshima 6eb23deb6f Fix decoding of embedded unexported pointer field 2021-02-18 17:46:28 +09:00
Masaaki Goshima 64e29e00d6 Optimize streaming decoder by BCE 2021-02-16 02:13:13 +09:00
Masaaki Goshima ddd7019dd3 Use bits.TrailingZeros for bitmap field 2021-02-15 20:05:35 +09:00
Masaaki Goshima 98824e9bd9 Fix decoding of struct type 2021-02-15 18:46:34 +09:00
Masaaki Goshima f5d4fc66a3 Remove unnecessary comment 2021-02-11 22:17:18 +09:00
Masaaki Goshima f8c7c7a612 Optimize decoding of struct field 2021-02-11 22:10:14 +09:00
Masaaki Goshima d314d7e2d9 Fix error by linter 2021-02-06 22:17:24 +09:00
Masaaki Goshima c5234b8605 Fix streaming decoder 2021-02-06 21:42:19 +09:00
Masaaki Goshima e0b010dcd8 Remove unnecessary code 2021-02-06 20:08:39 +09:00
Masaaki Goshima 0c1e7c61e0 Fix algorithm of struct field detection 2021-02-06 20:07:01 +09:00
Masaaki Goshima aef2390074 Improve performance of streaming decoder 2021-02-06 14:24:07 +09:00
Masaaki Goshima e0f5f9764f Reduce operation 2021-02-06 01:19:24 +09:00
Masaaki Goshima b3e93b7040 Enable Boundary Check Elimination by pointer arithmetic 2021-02-06 01:09:24 +09:00
Masaaki Goshima f1664b5c1f Add a new key decoder 2021-02-05 20:47:49 +09:00
Masaaki Goshima 73a3af734f Add a new algorithm for decoding of struct field 2021-02-04 20:58:58 +09:00
Masaaki Goshima 2a0d4603ea Fix error output by golangci-lint 2021-02-01 22:32:45 +09:00
Masaaki Goshima ea71048fce Fix decoding of `null` bytes for struct type 2021-01-22 20:06:37 +09:00
Masaaki Goshima 080bd5e4eb Fix UnmarshalTypeError 2020-12-24 17:47:53 +09:00
Masaaki Goshima 24aa07e47f Merge branch 'master' of github.com:goccy/go-json into feature/fix-decoder 2020-12-23 01:37:54 +09:00
Masaaki Goshima 6506007b6c Fix decoding of embeded struct 2020-12-22 21:55:59 +09:00
Masaaki Goshima 4332d1353e Fix stream decoding 2020-12-05 22:27:33 +09:00
Masaaki Goshima 47b7f4a5a2 Fix decoding for UnmarshalJSON / UnmarshalText 2020-11-24 20:15:11 +09:00
Masaaki Goshima 5c82b00ee7 Add structName and fieldName argument to each constructor of decoder for UnmarshalTypeError 2020-11-23 17:16:31 +09:00
Koichi Shiraishi 2b4097577d
Pass expression to unsafe.Pointer directly 2020-11-23 14:13:45 +09:00
Koichi Shiraishi e4214835d8
Fix checkptr validation error on decode 2020-11-23 06:47:57 +09:00
Masaaki Goshima fd7a72c0b8 Pass unsafe.Pointer instead of uintptr 2020-11-19 12:47:42 +09:00
Masaaki Goshima 27f6c70ab3 Fix DisallowUnknownFields 2020-08-14 17:59:49 +09:00
Masaaki Goshima e112aa753e Support DisallowUnknownFields 2020-08-11 19:05:20 +09:00
Masaaki Goshima 80acd42b80 Optimize streaming decoder 2020-07-31 17:10:03 +09:00
Masaaki Goshima 20b67ad48d Support Decoder.Token 2020-07-30 22:41:53 +09:00
Masaaki Goshima 4acc22e0fe Support SyntaxError 2020-05-23 12:51:09 +09:00
Masaaki Goshima c23e5f43a7 Support UnmarshalJSON 2020-05-08 20:22:57 +09:00
Masaaki Goshima 4f979d764e Refactor skipValue 2020-05-07 20:02:55 +09:00
Masaaki Goshima ceed634708 Remove goto statement 2020-05-07 13:51:17 +09:00
Masaaki Goshima f198ef6517 Remove context for decoding 2020-05-07 02:37:29 +09:00
Masaaki Goshima e14c0b6b66 Improve performance for decoding ( use switch-case ) 2020-05-05 19:19:45 +09:00
Masaaki Goshima 9b1349d40a Fix decoder 2020-04-26 15:22:55 +09:00
Masaaki Goshima 3bd7507c30 Fix decoder 2020-04-26 14:59:45 +09:00
Masaaki Goshima a523e61c20 Improve performance at decoding 2020-04-24 14:07:33 +09:00
Masaaki Goshima 508e4e4dcc Refactor decoder 2020-04-24 01:39:20 +09:00