Commit Graph

28 Commits

Author SHA1 Message Date
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 70b93d8963 Generate VM source 2021-05-19 12:34:40 +09:00
Masaaki Goshima aee5d8a6fb Refactor Debug mode for encoding 2021-05-18 14:48:13 +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 6ae63e3e61 Refactor encoding of structHead and structKey 2021-05-17 18:58:59 +09:00
Masaaki Goshima a6c1f6442c Add test case for string type 2021-05-09 00:40:18 +09:00
Masaaki Goshima 87b93ad8a4 Fix lint error 2021-05-07 01:04:25 +09:00
Masaaki Goshima 7d7a5163c4 Add OmitEmpty and String operation for indent vm 2021-05-07 00:12:59 +09:00
Masaaki Goshima 56dabe2da4 Refactor StringTag operation 2021-05-06 20:54:22 +09:00
Masaaki Goshima 7ae14cd24c Optimize json.Compact and json.Indent 2021-04-20 20:12:32 +09:00
IncSW 53590387e6
fix OpStructFieldOmitEmptyMarshalJSON with custom type marshaller on all VMs 2021-04-12 11:41:31 +03:00
Masaaki Goshima 69e40becbf Fix encoding of omitempty feature for the slice or interface type 2021-04-10 16:25:45 +09:00
Masaaki Goshima ae56d8371d Fix unnecessary indent 2021-04-10 15:25:02 +09:00
Masaaki Goshima 7007d6ee41 Fix encoding of recursive slice/map 2021-04-02 14:03:00 +09:00
Masaaki Goshima 3d47fc9e41 Add debug mode 2021-03-27 12:18:19 +09:00
Masaaki Goshima 2bda5ef91f Fix encoding of MarshalJSON of function type 2021-03-22 21:29:16 +09:00
Masaaki Goshima b364115cac Add slice test 2021-03-21 01:33:13 +09:00
Masaaki Goshima 906e29acda Optimize wrapped omitempty operation 2021-03-20 20:35:44 +09:00
Masaaki Goshima 29c30bdd14 Fix indent num for OpMarshalJSON 2021-03-20 20:13:55 +09:00
Masaaki Goshima d0d58b9026 Add test case of encoder for json.Number type 2021-03-20 19:01:04 +09:00
Masaaki Goshima ff871cb20d Add bytes test 2021-03-19 23:31:29 +09:00
Masaaki Goshima e5d855ff42 Refactor Recursive optype 2021-03-19 15:46:53 +09:00
Masaaki Goshima a02cea2c89 Fix encoding of marshaler 2021-03-18 23:56:56 +09:00
Masaaki Goshima d2d7e6d367 Fix error by linter 2021-03-18 18:31:45 +09:00
Masaaki Goshima 75d7b8e673 Enable inline function call 2021-03-18 18:23:58 +09:00
Masaaki Goshima 6a749c956b Fix error by linter 2021-03-18 16:30:08 +09:00
Masaaki Goshima 9cbe7b3991 Move encoder source to internal package 2021-03-18 15:46:55 +09:00