Commit Graph

888 Commits

Author SHA1 Message Date
Masaaki Goshima f8fd59516b Fix decoding of deep recursive structure 2021-02-18 19:05:06 +09:00
Masaaki Goshima 35eee537d4 Add test case 2021-02-18 17:59:29 +09:00
Masaaki Goshima 6eb23deb6f Fix decoding of embedded unexported pointer field 2021-02-18 17:46:28 +09:00
Masaaki Goshima cf6cf56e3d Fix invalid test case 2021-02-18 16:49:51 +09:00
Masaaki Goshima 0288026fde Fix decoding of invalid value 2021-02-18 16:42:38 +09:00
Masaaki Goshima 91c53cd3f7 Fix decoding of prefilled value 2021-02-18 12:13:49 +09:00
Masaaki Goshima b2a7d22fb4 Fix not being able to return UnmarshalTypeError when it should be returned 2021-02-18 11:32:08 +09:00
Masaaki Goshima b0e53330b6
Merge pull request #138 from goccy/feature/fix-decode-null
Fix decoding of null value
2021-02-17 15:20:01 +09:00
Masaaki Goshima 5351464001 Fix decoding of null value 2021-02-17 01:51:42 +09:00
Masaaki Goshima d8c3c8d209
Merge pull request #137 from goccy/feature/fix-predef-ptr
Use pre allocated pointer if exists it
2021-02-17 00:18:21 +09:00
Masaaki Goshima e09027425c Use pre allocated pointer if exists it 2021-02-17 00:03:07 +09:00
Masaaki Goshima 72cdc2a1d5
Merge pull request #136 from goccy/feature/fix-null-string
Fix decoding of type of null string
2021-02-16 23:48:22 +09:00
Masaaki Goshima 644ac4a692 Fix decoding of type of null string 2021-02-16 11:46:00 +09:00
Masaaki Goshima da543caf04
Update README.md 2021-02-16 02:59:30 +09:00
Masaaki Goshima c14650d39d
Merge pull request #135 from goccy/feature/merge-stream
Optimize streaming decoder by BCE
2021-02-16 02:30:41 +09:00
Masaaki Goshima 412dbe93f8 Fix error by linter 2021-02-16 02:24:27 +09:00
Masaaki Goshima 64e29e00d6 Optimize streaming decoder by BCE 2021-02-16 02:13:13 +09:00
Masaaki Goshima e6c1209305
Merge pull request #134 from goccy/feature/refactor-bitmap
Use bits.TrailingZeros for bitmap field
2021-02-15 21:27:06 +09:00
Masaaki Goshima ddd7019dd3 Use bits.TrailingZeros for bitmap field 2021-02-15 20:05:35 +09:00
Masaaki Goshima e080e515fd
Merge pull request #133 from goccy/feature/fix-decoder
Fix decoder (  mainly map type fixing )
2021-02-15 19:01:33 +09:00
Masaaki Goshima 6575394cc0 Fix error by linter 2021-02-15 18:54:12 +09:00
Masaaki Goshima 98824e9bd9 Fix decoding of struct type 2021-02-15 18:46:34 +09:00
Masaaki Goshima 9053c385ea Fix decoding of map type 2021-02-15 18:46:34 +09:00
Masaaki Goshima fa87dde0c3 Refactor skipValue 2021-02-15 18:46:34 +09:00
Masaaki Goshima 1f75cdd023 Initialize buffer size each streaming decoding 2021-02-15 18:46:34 +09:00
Masaaki Goshima cbe680fc5b
Merge pull request #132 from goccy/feature/add-opcode-for-ptr-field
Add pointer-type StructField operations to the encoder
2021-02-15 13:08:23 +09:00
Masaaki Goshima ddc486cc62 Add opcode for bool type to the encoder 2021-02-15 12:57:43 +09:00
Masaaki Goshima 565f1e866e Add cover_bool_test.go 2021-02-15 11:48:09 +09:00
Masaaki Goshima 72765ed523 Add StructField operation for ptr type 2021-02-15 11:31:49 +09:00
Masaaki Goshima 589c4b0350 Refactor cover_float64_test.go 2021-02-15 11:31:26 +09:00
Masaaki Goshima d8af48454d Refactor cover_float32_test.go 2021-02-15 11:29:42 +09:00
Masaaki Goshima 77dd50697f Refactor cover_uint64_test.go 2021-02-15 11:28:09 +09:00
Masaaki Goshima 159f30d9f9 Refactor cover_uint32_test.go 2021-02-15 11:27:57 +09:00
Masaaki Goshima 5e52d90f0d Refactor cover_uint16_test.go 2021-02-15 11:27:47 +09:00
Masaaki Goshima 631ee85a9e Refactor cover_uint8_test.go 2021-02-15 11:27:37 +09:00
Masaaki Goshima 4edf1b1d09 Refactor cover_uint_test.go 2021-02-15 11:24:35 +09:00
Masaaki Goshima e3eae7bbb6 Refactor cover_int64_test.go 2021-02-15 11:20:23 +09:00
Masaaki Goshima 06fd86dc55 Refactor cover_int32_test.go 2021-02-15 02:53:12 +09:00
Masaaki Goshima 6486503b70 Refactor cover_int16_test.go 2021-02-15 02:21:08 +09:00
Masaaki Goshima cfffa103ce Refactor cover_int8_test.go 2021-02-15 02:08:22 +09:00
Masaaki Goshima 7f406b7387 Refactor cover_int_test.go 2021-02-15 02:08:05 +09:00
Masaaki Goshima 402bd55e2f
Merge pull request #131 from goccy/feature/fix-interface
Fix decoding of pointer of empty interface type
2021-02-15 00:19:00 +09:00
Masaaki Goshima e917f04936 Fix decoding for nil value of empty interface type 2021-02-13 02:54:42 +09:00
Masaaki Goshima 6ebd44bb93 Fix decoding of pointer of empty interface type 2021-02-12 20:06:43 +09:00
Masaaki Goshima 336ad146cc
Merge pull request #130 from orisano/fix/decode-escaped-string-to-empty-interface
fix: fails decode escaped string to empty interface
2021-02-12 19:01:48 +09:00
Nao Yonashiro 405201e4f9 fix: use stringDecoder for decode escaped string to empty interface 2021-02-12 18:13:07 +09:00
Nao Yonashiro 10de43128b test: add test case of decode escaped string to empty interface 2021-02-12 18:12:40 +09:00
Masaaki Goshima c108435bc1
Merge pull request #127 from goccy/feature/remove-checking-key-termination
Optimize decoding of struct field
2021-02-11 22:24:53 +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