Commit Graph

997 Commits

Author SHA1 Message Date
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
Masaaki Goshima 5daa24c97c
Merge pull request #126 from goccy/feature/remove-unnecessary-dependency-to-decoder
Remove unnecessary dependency on decoder
2021-02-11 02:41:13 +09:00
Masaaki Goshima 03be923662 Fix error by linter 2021-02-11 01:21:35 +09:00
Masaaki Goshima 20d1a5ada2 Enable noescape trick for decoder 2021-02-11 01:15:31 +09:00
Masaaki Goshima 3f90e88a94 Refactor Unmarshal/UnmarshalNoEscape 2021-02-11 00:45:38 +09:00
Masaaki Goshima 3b7d5a6996 Remove unnecessary dependency on decoder 2021-02-11 00:33:54 +09:00
Masaaki Goshima d7c9594839
Merge pull request #124 from vearutop/streaming-decode
Wait for io.EOF when decoding a stream
2021-02-10 15:32:50 +09:00
Viacheslav Poturaev 1926476780 Wait for io.EOF when decoding a stream, fixes #123 2021-02-09 17:56:27 +01:00
Masaaki Goshima 29dd8efd6f
Update README.md 2021-02-09 23:56:13 +09:00
Masaaki Goshima 266c968d66
Merge pull request #121 from GuillaumeRochat/patch-1
Fix broken links to segmentio/encoding and jettison
2021-02-09 23:09:41 +09:00
Guillaume Rochat 24a1d02e32
Fix broken links to segmentio/encoding and jettison
I pointed segmentio/encoding/json to `/tree/master/json`. Should it just be straight to the encoding repository root instead?
2021-02-09 08:45:52 -05:00
Masaaki Goshima 6db7a29972
Merge pull request #120 from goccy/feature/fix-interface
Fix decoding of interface{} type
2021-02-09 22:33:21 +09:00
Masaaki Goshima a57bc23adf Fix error by linter 2021-02-09 22:24:53 +09:00
Masaaki Goshima 98de7ff51b Fix error by linter 2021-02-09 22:20:23 +09:00
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