Commit Graph

43 Commits

Author SHA1 Message Date
Masaaki Goshima edd09e7470 Fix encoding of using empty interface as map key 2021-06-06 20:39:49 +09:00
Masaaki Goshima 544e731166 Fix value of totalLength for encoding 2021-06-02 19:02:36 +09: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 3d47fc9e41 Add debug mode 2021-03-27 12:18:19 +09:00
Masaaki Goshima 4167aefe08 Fix any bugs of encoder
- fix some issues ( #104 #118 #144 #147 )
- fix recursive call operation
- use json.Number of encoding/json
- fix encoding of MarshalJSON and MarshalText
- fix pointer operation
- remove 'anonymous' and 'only' operation
- add test cases for array/slice/map/marshaler
2021-03-11 19:29:35 +09:00
Masaaki Goshima 0d57bf1014 Fix encoding of anonymous struct 2021-02-09 09:20:48 +09:00
Masaaki Goshima d3afb57900 Omit Parallel execution of test case 2020-12-24 20:38:42 +09:00
Masaaki Goshima ee52d7f0ae Fix double pointer 2020-12-07 10:44:24 +09:00
Masaaki Goshima aaea586778 Enable switch map processing at runtime 2020-09-16 18:15:47 +09:00
Masaaki Goshima 898d58b8b8 Supported sorted map 2020-09-16 14:51:37 +09:00
Masaaki Goshima 1e4216f0bc Add test case 2020-08-23 00:53:08 +09:00
Masaaki Goshima 45acfe9424 Add test cases 2020-08-22 18:13:58 +09:00
Masaaki Goshima 3e03bdc53f Fix null validation 2020-08-21 11:51:33 +09:00
Masaaki Goshima 78fe23fc64 Add test cases 2020-08-21 11:08:30 +09:00
Masaaki Goshima 445cc4c1af Fix encoding of json.Number 2020-08-21 01:12:29 +09:00
Masaaki Goshima 23dbdf7fbd Add test case 2020-08-20 23:56:50 +09:00
Masaaki Goshima f434070076 Fix encoding of primitive pointer with string tag 2020-08-20 22:00:20 +09:00
Masaaki Goshima cdd9e281b9 Fix test case 2020-08-20 18:02:14 +09:00
Masaaki Goshima d3d5df5bd4 Fix []byte type of implemeting Marshaler 2020-08-20 17:58:28 +09:00
Masaaki Goshima 8d029cddbe Fix map key by UnmarshalText 2020-08-20 17:47:38 +09:00
Masaaki Goshima ae1b244386 Fix encoding format for float32 and float64 2020-08-20 15:36:00 +09:00
Masaaki Goshima 27d0480952 Add test case for string tag 2020-08-19 19:56:20 +09:00
Masaaki Goshima 13a15040b3 Support encoding of []byte type 2020-08-19 10:34:11 +09:00
Masaaki Goshima 1d2beb8473 Add test cases for MarshalJSON and MarshalText 2020-08-19 00:32:45 +09:00
Masaaki Goshima 7ffe1ddb35 Fix MarshalJSON/MarshalText 2020-08-18 13:36:36 +09:00
Masaaki Goshima 64cd28839f Add AnonymousOmitEmpty type 2020-08-15 18:17:48 +09:00
Masaaki Goshima 025ac2a53b Support embedded struct 2020-08-15 17:41:38 +09:00
Masaaki Goshima 95cf762276 Add test case for embedded struct 2020-08-14 22:45:27 +09:00
Masaaki Goshima 2a99704531 Fix recursive definition of struct 2020-08-13 15:26:35 +09:00
Masaaki Goshima b71f7da8bc Fix recursive type definition 2020-08-12 18:42:29 +09:00
Masaaki Goshima 7eafd08a56 Fix encoding of struct field after omitempty field 2020-08-08 18:53:01 +09:00
Masaaki Goshima aae63769a1 Support MarshalerError 2020-05-09 01:38:00 +09:00
Masaaki Goshima 33dcd50a5d Support MarshalJSON/MarshalText 2020-05-04 18:39:17 +09:00
Masaaki Goshima 3d7267abc8 Add MarshalIndent 2020-05-02 23:35:41 +09:00
Masaaki Goshima 03a21193fc Support omitempty 2020-05-01 13:12:01 +09:00
Masaaki Goshima 090887bf7e Support Map and Interfacfe{} type for encoding of vm based 2020-04-30 13:39:47 +09:00
Masaaki Goshima 9034a6fca4 Support encoding for interface{} type 2020-04-28 18:25:51 +09:00
Masaaki Goshima 7bcc2071e9 Fix helper of testing 2020-04-24 20:48:15 +09:00
Masaaki Goshima 37a7ac09ee Supports encoding of structure fields that should be ignored 2020-04-21 13:38:48 +09:00
Masaaki Goshima a573d86121 Support encoding for Array type 2020-04-21 13:19:53 +09:00
Masaaki Goshima ed5ee07fdf Support encoding for map type 2020-04-21 00:06:27 +09:00
Masaaki Goshima 3e814f749f Support encoding of slice 2020-04-19 23:13:24 +09:00