Commit Graph

1016 Commits

Author SHA1 Message Date
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
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 #233 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 #232 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 #231 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 #230 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 #229 from goccy/feature/keep-original-slice-reference
Keep original reference of slice element
2021-05-20 15:47:34 +09:00
Masaaki Goshima 90d4d18dbf Keep original reference of slice element
- If the entered slice length is greater than zero, copy all references to the shared slice.
2021-05-20 02:04:52 +09:00
Masaaki Goshima d3951e3213
Merge pull request #227 from goccy/feature/generate-vm-source
Generate VM source
2021-05-19 12:54:59 +09:00
Masaaki Goshima 70b93d8963 Generate VM source 2021-05-19 12:34:40 +09:00
Masaaki Goshima 761b608fbb
Merge pull request #226 from goccy/feature/refactor-debug-vm
Refactor Debug mode for encoding
2021-05-18 14:59:44 +09:00
Masaaki Goshima aee5d8a6fb Refactor Debug mode for encoding 2021-05-18 14:48:13 +09:00
Masaaki Goshima bbea516a68
Merge pull request #225 from goccy/feature/refactor-vm
Refactor the VM source for encoding ( use the same source for each VM )
2021-05-18 14:18:10 +09:00
Masaaki Goshima f65ffc0449 Fix error by linter 2021-05-18 14:03:14 +09:00
Masaaki Goshima f696453c1b Refactor vm sources for encoding ( use same source ) 2021-05-18 13:51:57 +09:00
Masaaki Goshima fc968c75ee Refactor encoding of marshaler and structEnd 2021-05-17 21:08:45 +09:00
Masaaki Goshima 287d5f97a1
Merge pull request #224 from goccy/feature/refactor-vm
Refactor encoding process of structHead and structKey
2021-05-17 19:20:12 +09:00
Masaaki Goshima 34caf07d38 Fix limit of memory resource 2021-05-17 19:06:53 +09:00