Commit Graph

9 Commits

Author SHA1 Message Date
Nao Yonashiro 5e6fe10846
fix: fixed a problem with NextField being wrong when combining structure embedding and omitempty (#442)
fix #441
2023-03-20 04:54:48 +09:00
Nao Yonashiro 6f969b6d5f
fix: fixed an issue that could not set the correct NextField for fields in the embedded structure (#438)
fix #391
2023-03-13 20:54:51 +09:00
Nao Yonashiro 66f8b2629d chore: use reflect.Ptr 2022-04-28 20:30:06 +09:00
Nao Yonashiro af33c47846 fix: determining embedded structs was wrong
fix #362
2022-04-26 14:16:28 +09:00
Masaaki Goshima 0940ff3198
Fix the case where the embedded field is at the end 2022-01-20 23:23:51 +09:00
Masaaki Goshima 89bcc3be86
Supports dynamic filtering of struct fields 2022-01-03 12:33:51 +09:00
Masaaki Goshima be85245267
Enable StructEnd optimization for ptr type 2021-11-28 12:35:20 +09:00
Masaaki Goshima ea19d1161a
Fix error by linter 2021-11-28 02:48:01 +09:00
Masaaki Goshima b5e1478450
Refactor compiler for encoder
- Introduced a two phase compilation to calculate Opcode index accurately
- Fix display number of Opcode
- Improve memory footprint for Opcode
2021-11-28 02:14:57 +09:00