Commit Graph

975 Commits

Author SHA1 Message Date
Nao Yonashiro 62b28d102e test: add benchmark 2022-02-12 17:55:10 +09:00
Nao Yonashiro 4bd7d2399f feat: improve performance when a payload contains escape sequence 2022-02-12 17:25:52 +09:00
Masaaki Goshima 116e62dc84
Merge pull request #328 from orisano/fix/#327
fix: panic when decoding time.Time with context
2022-01-27 11:27:05 +09:00
Nao Yonashiro c05e1e23ee fix: panic when decoding time.Time with context
close #327
2022-01-26 01:02:27 +09:00
Masaaki Goshima 81ad315312
Update CHANGELOG 2022-01-21 00:20:27 +09:00
Masaaki Goshima 3dc9aaf909
Update CHANGELOG 2022-01-21 00:18:53 +09:00
Masaaki Goshima b2ca5f3250
Merge pull request #326 from goccy/feature/fix-issue324
Fix the case where the embedded field is at the end
2022-01-20 23:54:17 +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 8923f69dd5
Merge pull request #323 from IncSW/fix-omitempty-string-marshaler
Fix IsNilForMarshaler for string type with omitempty
2022-01-20 19:56:08 +09:00
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