Commit Graph

899 Commits

Author SHA1 Message Date
Masaaki Goshima 01698ac4a5 Add bytedance/sonic to benchmark 2021-06-21 23:54:52 +09:00
Masaaki Goshima c423502f97 Update CHANGELOG 2021-06-18 01:12:12 +09:00
Masaaki Goshima 2565e4721a
Merge pull request #253 from IncSW/fix-251
fix error when unmarshal empty array
2021-06-18 01:09:13 +09:00
IncSW 94cecc0609
update tests 2021-06-15 19:10:56 +03:00
IncSW 9a2f108208
fix array stream decoder 2021-06-15 19:05:12 +03:00
IncSW 1037421a83
fix error when unmarshal empty array 2021-06-15 18:19:39 +03:00
Masaaki Goshima faa4de918e
Update README.md 2021-06-12 23:40:12 +09:00
Masaaki Goshima 873c1f2f6c Update CHANGELOG 2021-06-12 23:00:54 +09:00
Masaaki Goshima 5c22860385
Merge pull request #248 from goccy/feature/context
Support context for MarshalJSON and UnmarshalJSON
2021-06-12 22:51:57 +09:00
Masaaki Goshima 3c3226e0f4
Merge pull request #249 from goccy/feature/fix-issue247
Fix MarshalIndent
2021-06-12 22:51:40 +09:00
Masaaki Goshima b972a9bab3 Fix indent num 2021-06-12 22:38:52 +09:00
Masaaki Goshima 56e5d7a457 Fix index number about length for recursive type 2021-06-12 22:02:03 +09:00
Masaaki Goshima 79ccab759f Fix indent num contains recursive type 2021-06-12 22:01:45 +09:00
Masaaki Goshima cd7fb7392f Support context for MarshalJSON and UnmarshalJSON 2021-06-12 17:06:26 +09:00
Masaaki Goshima a2ba5e8bcc
Merge pull request #244 from goccy/feature/fix-map-key-interface
Fix encoding of using empty interface as map key
2021-06-06 23:06:24 +09:00
Masaaki Goshima edd09e7470 Fix encoding of using empty interface as map key 2021-06-06 20:39:49 +09:00
Masaaki Goshima ad04977db7
Merge pull request #243 from goccy/feature/move-test-to-subdirectory
Move some tests to subdirectory
2021-06-06 19:45:03 +09:00
Masaaki Goshima f10809fec0 Ignore test directory from pkgs 2021-06-06 19:29:52 +09:00
Masaaki Goshima ad4e03eeff Fix task 2021-06-06 18:44:10 +09:00
Masaaki Goshima ec4ff740c4 Move some tests to subdirectory 2021-06-06 18:43:47 +09:00
Masaaki Goshima b05a0c301e
Merge pull request #242 from goccy/feature/improve-decoder-performance
Add DecodeFieldPriorityFirstWin option
2021-06-06 18:38:42 +09:00
Masaaki Goshima 8a3ef38852 Add document for options 2021-06-06 17:57:30 +09:00
Masaaki Goshima 5c39787fbd Enable FirstWin option for stream decoder 2021-06-06 11:24:56 +09:00
Masaaki Goshima 34b7053412 Fix decoder option flag 2021-06-06 11:11:04 +09:00
Masaaki Goshima a69176cd30 Fix decoder 2021-06-06 11:01:55 +09:00
Masaaki Goshima 3c0e1b5e8c Fix stream buffer length 2021-06-06 10:52:55 +09:00
Masaaki Goshima 5e281e340f Fix decoder 2021-06-05 16:00:17 +09:00
Masaaki Goshima cbda08a525 Add DecodeFieldPriorityFirstWin option 2021-06-05 13:00:26 +09:00
Masaaki Goshima b074c98070 Use RuntimeContext 2021-06-05 01:08:27 +09:00
Masaaki Goshima f0b4077914 Add DecodeOption 2021-06-05 00:27:02 +09:00
Masaaki Goshima e7b7118f4e Fix skipWhiteSpace for stream decoder 2021-06-04 14:59:43 +09:00
Masaaki Goshima a973797e61 Fix init buffer 2021-06-04 12:41:18 +09:00
Masaaki Goshima 7d7af9fb36
Merge pull request #238 from goccy/feature/refactor-decoder
Refactor package layout for decoder
2021-06-03 19:53:50 +09:00
Masaaki Goshima c35c3242b6 Merge branch 'master' of github.com:goccy/go-json into feature/refactor-decoder 2021-06-03 19:38:01 +09:00
Masaaki Goshima e2a93d2c6c Fix link of documentation 2021-06-03 19:30:30 +09:00
Masaaki Goshima 2ed0122969 Remove unnecessary test 2021-06-03 19:21:25 +09:00
Masaaki Goshima c41c158a56 Fix error by linter 2021-06-03 19:10:17 +09:00
Masaaki Goshima 45780881a4 Remove unnecessary vars 2021-06-03 18:59:52 +09:00
Masaaki Goshima de4e97ed09 Remove unnecessary prefix 2021-06-03 18:57:41 +09:00
Masaaki Goshima 5a024ca2f1 Fix package layout for decoder 2021-06-03 18:49:01 +09:00
Masaaki Goshima 80719cf181 Use pre-allocated buffer for zero character 2021-06-03 15:44:48 +09:00
Masaaki Goshima f1ec7120aa
Merge pull request #237 from goccy/feature/fix-escaped-char-field
Fix decoding fields containing escaped characters
2021-06-03 15:18:48 +09:00
Masaaki Goshima 917f71bbcf Fix decoding fields containing escaped characters for stream decoder 2021-06-03 15:00:31 +09:00
Masaaki Goshima fee2d1fc68 Update CHANGELOG 2021-06-02 19:20:42 +09:00
Masaaki Goshima 07920c85ea
Merge pull request #236 from goccy/feature/fix-encoder
Fix value of totalLength for encoding
2021-06-02 19:18:54 +09:00
Masaaki Goshima 544e731166 Fix value of totalLength for encoding 2021-06-02 19:02:36 +09:00
Masaaki Goshima 14c828aad7 Add test case for stream decoder 2021-06-02 19:01:41 +09:00
Masaaki Goshima c128c8c915 Fix decoding fields containing escaped characters 2021-06-02 17:23:32 +09:00
Masaaki Goshima 6562473b1e Update CHANGELOG 2021-06-01 19:03:16 +09:00
Masaaki Goshima 3d17de681d
Merge pull request #188 from goccy/feature/add-benchmark-ffjson
Add a new benchmark target ( ffjson )
2021-06-01 18:57:22 +09:00