Commit Graph

612 Commits

Author SHA1 Message Date
Masaaki Goshima bac05564e0 Add array test 2021-03-04 15:40:06 +09:00
Masaaki Goshima 64f98e3161 Add slice test 2021-03-04 00:13:33 +09:00
Masaaki Goshima 2a2a19319d Add slice test 2021-03-03 14:54:40 +09:00
Masaaki Goshima 83122027f5 Refactor encode_vm 2021-03-02 19:52:17 +09:00
Masaaki Goshima 09e9e2dd19 Remove unnecessary code 2021-03-01 00:25:31 +09:00
Masaaki Goshima 40c322590e Add test case for int16 type 2021-02-28 23:24:42 +09:00
Masaaki Goshima c6f40ed546 Remove only operation and add indirect property to opcode 2021-02-28 23:22:46 +09:00
Masaaki Goshima 40cc5ff367 Remove only operation 2021-02-23 16:16:44 +09:00
Masaaki Goshima e3acf4a01b Merge branch 'master' of github.com:goccy/go-json into feature/refactor-only-op 2021-02-23 16:13:39 +09:00
Masaaki Goshima 116df927e2 Add CHANGELOG.md 2021-02-22 16:59:09 +09:00
Masaaki Goshima cd03bc4033
Merge pull request #143 from goccy/feature/remove-unnecessary-op
Remove unnecessary optype
2021-02-22 15:27:18 +09:00
Masaaki Goshima 43b585a81c Remove unnecessary optype 2021-02-22 15:16:53 +09:00
Masaaki Goshima 80b483ce97
Merge pull request #141 from goccy/feature/integrate-int-op
Reduce memory usage at compile
2021-02-22 15:07:26 +09:00
Masaaki Goshima e60eabf9da Fix error by linter 2021-02-19 15:34:56 +09:00
Masaaki Goshima 9d4348e66b Modify test case 2021-02-19 15:13:33 +09:00
Masaaki Goshima f7b1319735 Integrate int/int8/int16/int32/int64 and uint/uint8/uint16/uint32/uint64 operation to reduce memory usage at compile 2021-02-19 15:12:30 +09:00
Masaaki Goshima 73fbc98667 Fix test case 2021-02-19 15:08:30 +09:00
Masaaki Goshima a324a29256 Pass test 2021-02-19 15:03:52 +09:00
Masaaki Goshima 413c811e37 WIP: workaround 2021-02-19 03:34:21 +09:00
Masaaki Goshima 0272fd00f4 WIP: Integrate int/uint operation 2021-02-19 03:06:21 +09:00
Masaaki Goshima 58a761643a
Merge pull request #140 from goccy/feature/fix-unmarshal-type-error
Fix decoder
2021-02-18 19:48:08 +09:00
Masaaki Goshima aa0422c239 Modify section of comment out 2021-02-18 19:31:35 +09:00
Masaaki Goshima 24cc1b77b2 Fix checkptr error 2021-02-18 19:20:07 +09:00
Masaaki Goshima 23c5766bd2 Add test case 2021-02-18 19:11:44 +09:00
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