Commit Graph

977 Commits

Author SHA1 Message Date
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 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 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 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 from goccy/feature/add-benchmark-ffjson
Add a new benchmark target ( ffjson )
2021-06-01 18:57:22 +09:00
Masaaki Goshima 1aeb61673b Update README 2021-06-01 18:46:24 +09:00
Masaaki Goshima c4835c6cd2 Add benchmark target 2021-06-01 18:46:24 +09:00
Masaaki Goshima 75a8c1e3f5
Merge pull request from goccy/feature/colorize
Support Colorize option for encoding
2021-06-01 18:36:22 +09:00
Masaaki Goshima 029bc76843 Add benchmark for colorize option 2021-06-01 15:50:26 +09:00
Masaaki Goshima 847573aaf6 Update README 2021-06-01 15:29:34 +09:00
Masaaki Goshima 7155d2e437 Fix error by linter 2021-06-01 15:19:09 +09:00
Masaaki Goshima d495f67045 Fix color format 2021-06-01 15:10:28 +09:00
Masaaki Goshima 4e2a9c06ef Manage option flags as bit variable 2021-06-01 13:40:15 +09:00
Masaaki Goshima 611b1aaf1e Ignore measuring coverage for color packages 2021-06-01 12:53:50 +09:00
Masaaki Goshima 5f6420d3d0 Reset colorize opt 2021-06-01 03:24:05 +09:00
Masaaki Goshima 043efdfe93 Fix error by linter 2021-06-01 03:12:29 +09:00
Masaaki Goshima 4c19a845d9 Support colored JSON 2021-06-01 03:09:47 +09:00
Masaaki Goshima c294f01ac5 Add Colorize option 2021-06-01 01:57:40 +09:00
Masaaki Goshima 374d8261fa
Merge pull request from goccy/feature/refactor-escape-string
Refactor Escape string
2021-06-01 01:57:14 +09:00
Masaaki Goshima 69cca05981 Pass RuntimeContext to the first argument of all append functions 2021-06-01 01:36:30 +09:00
Masaaki Goshima 11437c8556 Refactor escape string 2021-06-01 01:25:05 +09:00
Masaaki Goshima 8c93c749f9
Merge pull request from goccy/feature/refactor-encode-opt
Refactor encode option
2021-06-01 00:23:53 +09:00
Masaaki Goshima a56c080959 Refactor encode option 2021-05-31 22:25:33 +09:00
Masaaki Goshima ca4e811a0b
Merge pull request from goccy/feature/fix-opcode-layout
Fix opcode layout
2021-05-31 21:34:00 +09:00
Masaaki Goshima 7cf15fc56c Fix opcode layout
- Adjust memory layout of the opcode to 128 bytes in a 64-bit environment
2021-05-29 14:47:18 +09:00
Masaaki Goshima b576d93a9c Update CHANGELOG 2021-05-20 16:11:24 +09:00
Masaaki Goshima 902fd6a1b3
Merge pull request from goccy/feature/keep-original-slice-reference
Keep original reference of slice element
2021-05-20 15:47:34 +09:00