Commit Graph

1060 Commits

Author SHA1 Message Date
Kiraub e94f0cd362
Merge branch 'goccy:master' into master 2021-06-23 17:44:36 +02:00
ebauer 4fe8e6f172 change assertEq check 2021-06-23 16:00:41 +02:00
ebauer 5f0b34250c funcDecoder: handle cases of value being true or false 2021-06-23 15:51:42 +02:00
Masaaki Goshima f7eceb1ff9
Merge pull request #254 from goccy/feature/add-sonic-to-benchmark
Add bytedance/sonic to benchmark target
2021-06-23 22:30:15 +09:00
ebauer a7d041a3d4 gofmt -s 2021-06-23 15:22:40 +02:00
Masaaki Goshima 4f9edb7bc0
Merge pull request #256 from goccy/feature/improve-map-decoder-perf
Improve performance of decoding map
2021-06-23 22:11:29 +09:00
ebauer d34d79600a add func Unmarshal tests 2021-06-23 14:22:58 +02:00
ebauer 585ce46b31 add func decoder 2021-06-23 14:22:24 +02:00
Masaaki Goshima 80c460c74b Fix error by linter 2021-06-23 17:42:30 +09:00
Masaaki Goshima ff12fbbe9b Use mapassign_faststr to decode map whose key type is string 2021-06-23 17:23:09 +09:00
Masaaki Goshima 291234afdb Sort benchmark target 2021-06-21 23:57:46 +09:00
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