Commit Graph

966 Commits

Author SHA1 Message Date
IncSW 4d0a50640b
fix omitempty string is nil for marshaler 2022-01-18 13:38:44 +03:00
Masaaki Goshima 7b8b524c92
Update CHANGELOG 2022-01-14 20:33:59 +09:00
Masaaki Goshima c3c5b1110e
Merge pull request #322 from goccy/feature/fix-decode-field-resolver
Fix logic of removing struct field for decoder
2022-01-14 20:32:42 +09:00
Masaaki Goshima 50b494bc5f
Fix logic of removing struct field for decoder 2022-01-14 20:18:18 +09:00
Masaaki Goshima d5a9e00a5e
Update CHANGELOG 2022-01-14 18:07:37 +09:00
Masaaki Goshima 0f7e1f926f
Merge pull request #321 from goccy/feature/add-invalid-decoder
Add invalid decoder to delay type error judgment at decode
2022-01-13 21:54:24 +09:00
Masaaki Goshima b5a50f75eb
Add invalid decoder to delay type error judgment at decode 2022-01-13 18:09:48 +09:00
Masaaki Goshima e93796de72
Update CHANGELOG 2022-01-11 15:29:22 +09:00
Masaaki Goshima 1978ac1e52
Merge pull request #319 from goccy/feature/fix-encoding-head-offset
Fix encoding of MarshalText/MarshalJSON operation with head offset
2022-01-11 15:26:55 +09:00
Masaaki Goshima f810369f2d
Fix encoding of MarshalText operation with head offset 2022-01-11 15:11:17 +09:00
Masaaki Goshima f2c27a62ca
Update CHANGELOG 2022-01-05 20:59:41 +09:00
Masaaki Goshima 3d6ec17d9a
Add test case 2022-01-05 20:52:13 +09:00
Masaaki Goshima 923cda5039
Merge pull request #317 from goccy/feature/fix-indent
Fix MarshalIndent for interface type
2022-01-05 20:45:00 +09:00
Masaaki Goshima acc66cf172
Fix MarshalIndent for interface type 2022-01-04 22:30:16 +09:00
Masaaki Goshima e17c06a7e8
Merge pull request #315 from goccy/feature/refactor
Refactor encoder
2022-01-03 22:51:55 +09:00
Masaaki Goshima 6af83d9bdd
Refactor encoder 2022-01-03 22:42:04 +09:00
Masaaki Goshima 0707c2a188
Merge pull request #314 from goccy/feature/json-field-query
Supports dynamic filtering of struct fields
2022-01-03 15:48:53 +09:00
Masaaki Goshima 594d0a55dc
Add document 2022-01-03 12:55:10 +09:00
Masaaki Goshima 89bcc3be86
Supports dynamic filtering of struct fields 2022-01-03 12:33:51 +09:00
Masaaki Goshima b0f4ac6d83
Merge pull request #313 from goccy/feature/add-encoding-option
Add encoding option for performance
2021-12-31 16:18:25 +09:00
Masaaki Goshima 2a0ee24e6e
Add encoding option for performance 2021-12-30 11:54:29 +09:00
Masaaki Goshima 2d98d47d0f
Merge pull request #311 from goccy/feature/optimize-encode-path
Optimize encoding path for escaped string
2021-12-27 23:38:28 +09:00
Masaaki Goshima 1bb8b16200
Optimize variables 2021-12-27 22:40:43 +09:00
Masaaki Goshima 2d022aa037
Remove unnecessary codes 2021-12-27 22:28:25 +09:00
Masaaki Goshima 0d18c6d7ce
Optimize encoding path for escaped string 2021-12-27 21:48:21 +09:00
Masaaki Goshima 5686ae09f7
Merge pull request #310 from goccy/feature/improve-map-encoding-performance
Improve map encoding performance
2021-12-27 18:17:01 +09:00
Masaaki Goshima 5418c49bcf
Refactor opcode fields 2021-12-27 17:50:55 +09:00
Masaaki Goshima c220d90e4c
Use MapItem object in Mapslice directly 2021-12-27 12:18:30 +09:00
Masaaki Goshima 657973a17e
Ignore lint error for mapIter 2021-12-27 11:33:17 +09:00
Masaaki Goshima d8aa8348f4
Improve map encoding performance 2021-12-27 11:14:42 +09:00
Masaaki Goshima de89bd3db6
Update CHANGELOG 2021-12-05 11:56:17 +09:00
Masaaki Goshima 5ee0d18f0d
Merge pull request #305 from goccy/feature/fix-recursive-ptr-head
Fix operation conversion for PtrHead to Head in Recursive type
2021-12-05 11:54:01 +09:00
Masaaki Goshima 918e816ae4
Fix conversion of operation for PtrHead to Head 2021-12-05 11:38:56 +09:00
Masaaki Goshima 45fb730c34
Add test case 2021-12-05 11:38:23 +09:00
Masaaki Goshima c37d82b10f
Update CHANGELOG 2021-12-02 15:16:56 +09:00
Masaaki Goshima 8ac142ed32
Merge pull request #302 from goccy/feature/refactor-vm
Refactor vm code for encoder
2021-11-29 00:56:55 +09:00
Masaaki Goshima f6b4e43f6a
Refactor encoder's vm 2021-11-28 21:46:32 +09:00
Masaaki Goshima fa6c96f02c
Merge pull request #301 from goccy/feature/encode-compiler-v2
Refactor compiler for encoder
2021-11-28 13:55:17 +09:00
Masaaki Goshima e4c458f34c
Remove StructAnonymousEnd operation 2021-11-28 12:53:18 +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
Masaaki Goshima 2b98da0634
Merge pull request #300 from goccy/feature/fix-anonym-opcode
Fix embedded field conflict behavior
2021-11-19 01:49:27 +09:00
Masaaki Goshima 86a671f3bb
Fix embedded field conflict behavior 2021-11-18 19:51:29 +09:00
Masaaki Goshima a89c9e30df
Update CHANGELOG 2021-10-16 23:45:11 +09:00
Masaaki Goshima faa7ca28a7
Merge pull request #294 from goccy/feature/fix-uint64-conversion
Fix conversion from pointer to uint64
2021-10-15 19:04:44 +09:00
Masaaki Goshima d7372a47cd
Fix conversion from pointer to uint64 2021-10-14 15:00:28 +09:00
Masaaki Goshima d1195dff31
Update CHANGELOG 2021-09-28 12:46:02 +09:00
Masaaki Goshima 9df46fc918
Merge pull request #291 from orisano/fix/#290
Fix encoding of nil value about interface type that has method
2021-09-27 20:30:39 +09:00
Nao Yonashiro 0065357ebb fix: to avoid panic on untyped nil #290
fix #290
2021-09-27 10:55:37 +09:00