Masaaki Goshima
4cdbd4e962
Remove unnecessary code
2021-03-12 00:43:48 +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
43b585a81c
Remove unnecessary optype
2021-02-22 15:16:53 +09:00
Masaaki Goshima
d59d465042
Remove InterfaceEnd operation
2021-01-24 23:04:54 +09:00
Masaaki Goshima
3989252ca9
Reduce code size of encode_optype.go
2021-01-17 22:23:28 +09:00
Masaaki Goshima
9c5f6ec0e6
Remove escaped optype
2021-01-11 19:21:30 +09:00
Masaaki Goshima
4cfb919183
Remove indent optype
2021-01-11 19:05:06 +09:00
Masaaki Goshima
35a58e5b5f
Reduce code size
2021-01-11 00:48:20 +09:00
Masaaki Goshima
b7f79b13eb
Reduce code size of headToOnlyHead
2021-01-10 20:21:58 +09:00
Masaaki Goshima
eb6fb3b15d
Pass all tests
2021-01-09 13:55:34 +09:00
Masaaki Goshima
08a65e9bfd
Fix build error
2021-01-09 02:35:37 +09:00
Masaaki Goshima
fc288e1a6c
Add headToOnlyHead
2021-01-09 02:28:33 +09:00
Masaaki Goshima
3643b27728
Refactor generated code
2020-12-30 16:13:33 +09:00
Masaaki Goshima
a2f709e756
Refactor generated code
2020-12-30 16:09:12 +09:00
Masaaki Goshima
1bb6fd5c21
Remove unnecessary code
2020-12-30 03:50:19 +09:00
Masaaki Goshima
e372b3498c
Refactor
2020-12-30 01:32:06 +09:00
Masaaki Goshima
2356c0ceab
Fix runtime error
2020-12-30 01:29:29 +09:00
Masaaki Goshima
e98d4ea652
Add StructEnd to code type
2020-12-30 00:13:45 +09:00
Masaaki Goshima
1f5e0cb5fd
Add optimized StructEnd operation
2020-12-29 23:17:15 +09:00
Masaaki Goshima
5de8891c0c
Add toEscaped API
2020-12-25 16:38:18 +09:00
Masaaki Goshima
9fb34e4449
Add Escaped operation
2020-12-25 16:06:25 +09:00
Masaaki Goshima
6c3382dc4e
Support multiple pointer
2020-12-23 13:13:34 +09:00
Masaaki Goshima
85577616f8
Support int and uint types as map key type
2020-12-12 18:09:46 +09:00
Masaaki Goshima
3e1a1ac1ad
Fix recursive anonymous field
2020-11-16 21:28:33 +09:00
Koichi Shiraishi
0f18f3fed2
Generate
2020-11-13 00:27:11 +09:00
Masaaki Goshima
9351afdb88
Fix pointer fields
2020-09-17 21:50:27 +09:00
Masaaki Goshima
2b5effab31
Remove unused operation ( RootMap )
2020-09-16 18:49:47 +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
5c3efd11af
Add opcode for sorted map
2020-09-16 01:23:36 +09:00
Masaaki Goshima
34b662b98e
Add InterfaceEnd operation
2020-09-03 15:36:11 +09:00
Masaaki Goshima
93ce3f8bd2
Add new operation
2020-08-24 01:48:52 +09:00
Masaaki Goshima
8f7cb46c5d
Add string tag operation
2020-08-19 19:55:06 +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
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