Commit Graph

33 Commits

Author SHA1 Message Date
IncSW ac14c18dbb
remove zero value checker for complex 2021-04-12 10:23:57 +03:00
IncSW b57146602e
Fix encoding custom types zero values with omitempty when marshaller exists 2021-04-11 21:45:59 +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 2622779349
Merge pull request #172 from goccy/feature/fix-recursive-slice
Fix encoding of recursive slice/map
2021-04-02 14:21:27 +09:00
Masaaki Goshima 7007d6ee41 Fix encoding of recursive slice/map 2021-04-02 14:03:00 +09:00
Masaaki Goshima f3aded9b12 Fix detection of indirect field 2021-03-30 19:37:19 +09:00
Masaaki Goshima 5093e5bd78 Add type infromation to the debug information 2021-03-27 12:35:43 +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 f4a7cdf543 Fix bugs of nil pointer of typeAddr value 2021-03-20 18:24:13 +09:00
Masaaki Goshima ef29061807 Fix error by linter 2021-03-19 23:55:01 +09:00
Masaaki Goshima b2bbd63168 Fix compiler for encoder 2021-03-19 23:47:29 +09:00
Masaaki Goshima ff871cb20d Add bytes test 2021-03-19 23:31:29 +09:00
Masaaki Goshima a100884788 Fix recursive operation 2021-03-19 15:47:16 +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 969dfcec31 Reduce memory usage at compile time 2021-03-18 16:17:14 +09:00
Masaaki Goshima 4db967f28d Remove unnecessary files 2021-03-18 15:53:22 +09:00
Masaaki Goshima 9cbe7b3991 Move encoder source to internal package 2021-03-18 15:46:55 +09:00
Masaaki Goshima cccf9f9f33 Replace vm and escaped vm codes with internal package 2021-03-17 12:32:23 +09:00
Masaaki Goshima 10c4118a45 Fix vm code 2021-03-17 00:22:19 +09:00
Masaaki Goshima 62b7d3ba0a Move compiler for encoder to internal package 2021-03-16 19:44:32 +09:00
Masaaki Goshima c45f1e8b2c Add internal/vm package 2021-03-16 02:50:19 +09:00
Masaaki Goshima 2385cfcdbf Move rtype to internal/runtime package 2021-03-15 13:53:24 +09:00
Masaaki Goshima 377d0b0dfc Move error types to internal/errors package 2021-03-15 13:53:24 +09:00