Commit Graph

894 Commits

Author SHA1 Message Date
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
Masaaki Goshima 6ae63e3e61 Refactor encoding of structHead and structKey 2021-05-17 18:58:59 +09:00
Masaaki Goshima 102554cbcd
Merge pull request #213 from jxskiss/compact_type_cache
Add type addrShift to enable bigger encoder/decoder cache
2021-05-11 04:15:37 +09:00
Shawn Wang 7e03a13225 Add type addrShift to enable bigger encoder/decoder cache
Change-Id: I630fa501f3b96702b69a40bc0b2f79f4db2a57eb
2021-05-10 13:39:37 +08:00
Masaaki Goshima 835c00e18b
Merge pull request #221 from goccy/feature/refactor-validator
Refactor validator
2021-05-09 14:44:12 +09:00
Masaaki Goshima ec7aec5e45 Fix benchmark job 2021-05-09 13:47:38 +09:00
Masaaki Goshima 33f2568d47 Refactor validator for null/true/false 2021-05-09 03:05:36 +09:00
Masaaki Goshima bfd9846fe8 Update CHANGELOG 2021-05-09 01:45:11 +09:00
Masaaki Goshima a9d147e857 Update README 2021-05-09 01:44:57 +09:00
Masaaki Goshima 7d6401a797
Merge pull request #216 from goccy/feature/support-omitempty-and-string
Supports using omitempty and string tags at the same time
2021-05-09 01:12:28 +09:00
Masaaki Goshima 065efcf447 Add test case for json.Number type 2021-05-09 00:56:00 +09:00
Masaaki Goshima a6c1f6442c Add test case for string type 2021-05-09 00:40:18 +09:00
Masaaki Goshima 7d6d61df68 Add test case for bool type 2021-05-08 23:24:49 +09:00
Masaaki Goshima 440e24181b Add test case for float64 type 2021-05-08 22:41:17 +09:00
Masaaki Goshima 3fa9900acb Add test case for float32 type 2021-05-08 22:38:38 +09:00
Masaaki Goshima 72cf940731
Merge pull request #220 from goccy/feature/fix-217
Fix calculating of length for stream decoder
2021-05-08 10:52:19 +09:00
Masaaki Goshima f3167760ff Fix stream decoder 2021-05-08 01:56:58 +09:00
Masaaki Goshima ab068b0858 Remove unnecessary code 2021-05-07 23:52:24 +09:00
Masaaki Goshima 23081eadad Fix calculating of length for stream decoder 2021-05-07 23:15:16 +09:00
Masaaki Goshima 3ec642d31f
Merge pull request #219 from goccy/feature/fix-218
Fix decoding of slice element
2021-05-07 21:43:09 +09:00
Masaaki Goshima 78e2bf2502 Fix decoding of slice element 2021-05-07 21:31:35 +09:00
Masaaki Goshima e570e5774f Add test case for uint type 2021-05-07 02:03:39 +09:00
Masaaki Goshima 40f049d8a1 Add test case for int type 2021-05-07 01:39:58 +09:00