Commit Graph

625 Commits

Author SHA1 Message Date
Masaaki Goshima 721f830cef Fix error handling of decoding of slice type 2021-02-09 22:19:13 +09:00
Masaaki Goshima 6befcb123e Fix decoding of interface type 2021-02-09 22:13:58 +09:00
Masaaki Goshima 5227e49c39 Fix decoding of interface type 2021-02-09 21:37:18 +09:00
Masaaki Goshima 3244416dae
Update README.md 2021-02-09 20:54:34 +09:00
Masaaki Goshima 5f1fcddcf5 Update README.md 2021-02-09 17:22:22 +09:00
Masaaki Goshima c468fd2db7
Merge pull request #117 from goccy/feature/fix-anonymous
Fix encoding of anonymous struct
2021-02-09 09:32:32 +09:00
Masaaki Goshima 7d83cfcea1 Fix error by linter 2021-02-09 09:25:33 +09:00
Masaaki Goshima d2de9a1eb5 Refactor 2021-02-09 09:23:15 +09:00
Masaaki Goshima 0d57bf1014 Fix encoding of anonymous struct 2021-02-09 09:20:48 +09:00
Masaaki Goshima b286747e6b
Update README.md 2021-02-08 18:30:27 +09:00
Masaaki Goshima 13751b0f6f
Merge pull request #108 from lestrrat-go/golangci-lint
Add a lint action
2021-02-08 15:28:55 +09:00
Daisuke Maki 2db3ac841b remove go vet 2021-02-08 14:14:28 +09:00
Masaaki Goshima cc85e191ca
Update README.md 2021-02-07 03:35:09 +09:00
Masaaki Goshima 95a9a1a014
Update README.md 2021-02-07 03:24:39 +09:00
Masaaki Goshima f9327d5010
Merge pull request #113 from goccy/feature/improve-decoder-performance
Dramatically improve decoder performance
2021-02-07 02:36:21 +09:00
Masaaki Goshima d314d7e2d9 Fix error by linter 2021-02-06 22:17:24 +09:00
Masaaki Goshima e9f947a29e Merge branch 'master' of github.com:goccy/go-json into feature/improve-decoder-performance 2021-02-06 22:15:26 +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 6f972bcc9d Refactor isWhiteSpace at streaming decoding 2021-02-06 20:08:18 +09:00
Masaaki Goshima 0c1e7c61e0 Fix algorithm of struct field detection 2021-02-06 20:07:01 +09:00
Masaaki Goshima a75b5e9d93 optimize unnecessary copy 2021-02-06 17:41:51 +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 3304ee45bf Optimize getting of cached decoder 2021-02-04 18:00:08 +09:00
Masaaki Goshima 145da4ae20
Merge pull request #112 from goccy/feature/fix-lint
Fix lint error
2021-02-03 23:54:56 +09:00
Masaaki Goshima a90f2cbf1b Refactor by linter 2021-02-03 23:50:02 +09:00
Masaaki Goshima e7836fbc45 Add disable rule 2021-02-03 23:43:22 +09:00
Masaaki Goshima 6de0ce6172 Fix Makefile 2021-02-03 23:43:14 +09:00
Masaaki Goshima be3d2ff6db Add lint task 2021-02-03 23:33:28 +09:00
Daisuke Maki 88ffc1673e disable ifshort 2021-02-02 08:22:00 +09:00
Daisuke Maki 5cd3291f16 Update golangci-lint 2021-02-02 07:57:27 +09:00
Daisuke Maki 5f9f30fc8e Merge branch 'master' into golangci-lint 2021-02-02 07:54:20 +09:00
Daisuke Maki e81d6a67d2 Merge branch 'master' into golangci-lint 2021-02-02 07:49:45 +09:00
Masaaki Goshima 5a0faf65e4
Merge pull request #111 from goccy/feature/fix-lint
Fix error by linter
2021-02-01 22:48:56 +09:00
Masaaki Goshima 0a5e990b17
Merge pull request #110 from goccy/feature/fix-marshal-json
Fix encoding of type which implemented MarshalJSON
2021-02-01 22:40:17 +09:00
Masaaki Goshima b24bbdb559 Add configuration file for golangci-lint 2021-02-01 22:35:06 +09:00
Masaaki Goshima b6ffc2368a Add test code 2021-02-01 22:34:53 +09:00
Masaaki Goshima 2a0d4603ea Fix error output by golangci-lint 2021-02-01 22:32:45 +09:00
Masaaki Goshima b431a095d6 Fix error by race detector 2021-02-01 20:02:43 +09:00
Masaaki Goshima 0297427ef5 Fix encoding of MarshalJSON type 2021-02-01 18:43:28 +09:00
Daisuke Maki 0ac7b139e6 Add explicit 5m timeout 2021-02-01 13:04:06 +09:00
Masaaki Goshima c410c7e5fa
Merge pull request #107 from goccy/feature/refactor-encoder
Refactor the encoder to fix a bug where streaming encoders can't reuse buffer
2021-02-01 12:19:34 +09:00
Daisuke Maki aeefd45f33 it might be better if we enable this for pull_requests too 2021-02-01 12:17:18 +09:00
Daisuke Maki 21932ab583 Add a config file 2021-02-01 12:12:22 +09:00
Masaaki Goshima 1d91627890 Add codecov.yml 2021-02-01 12:05:28 +09:00
Masaaki Goshima 04da39a443 Fix error message 2021-02-01 12:01:56 +09:00