Commit Graph

995 Commits

Author SHA1 Message Date
Nao Yonashiro 4235ca04c0 fix: an incompatible behavior on map key decoder
fix #342
The map key decoder has an incompatible behavior when the type kind is string and the type has UnmarshalJSON.
2022-03-24 09:35:14 +09:00
Masaaki Goshima 03950e7b0b
Merge pull request #349 from orisano/fix/#348 2022-03-20 00:14:27 +09:00
Nao Yonashiro 8c27bb4f29
Merge branch 'master' into fix/#348 2022-03-19 21:29:50 +09:00
Masaaki Goshima 47a26db8a2
Merge pull request #351 from orisano/fix/#350
fix: to safe when got unexpected typeptr
2022-03-19 21:27:34 +09:00
Masaaki Goshima a3b70288fb
Merge pull request #345 from orisano/fix/#306
feat: improves escapeString's performance
2022-03-19 21:26:32 +09:00
Nao Yonashiro 48f6412cd1 fix: to safe when got unexpected typeptr 2022-03-19 09:33:16 +09:00
Nao Yonashiro 6832682204 fix: mismatched between len(s.buf) and s.bufSize
close #348
2022-03-18 23:31:33 +09:00
Masaaki Goshima fdf5700bcb
Merge pull request #347 from goccy/feature/update-go-version
Update go version
2022-03-18 18:16:16 +09:00
Masaaki Goshima 7f741a08bc
Update go version 2022-03-18 18:04:21 +09:00
Nao Yonashiro 6f811065b6 feat: improves escapeString's performance 2022-03-13 08:42:55 +09:00
Nao Yonashiro 1ee186da17 test: add benchmark 2022-03-13 08:20:12 +09:00
Masaaki Goshima e99e62dcbc
Merge pull request #344 from orisano/fix/#343
fix: to care ints minimum values
2022-03-13 00:49:37 +09:00
Nao Yonashiro f714c3961d fix: to care ints minimum values
close #343
2022-03-12 23:43:03 +09:00
Nao Yonashiro fdd32cccf2 test: adds ints boundary cases 2022-03-12 23:41:52 +09:00
Masaaki Goshima d496803519
Update CHANGELOG 2022-03-04 21:04:26 +09:00
Masaaki Goshima f352b8732a
Merge pull request #334 from orisano/feat-improve-performance-escaped
feat: improve performance when a payload contains escape sequence
2022-03-04 20:53:41 +09:00
Masaaki Goshima 58b524e43e
Merge pull request #338 from orisano/fix/#337
fix: avoid reading the next character in buffer to nul consideration
2022-03-04 20:51:40 +09:00
Masaaki Goshima 1960b8569c
Merge pull request #341 from orisano/fix/#340
fix: incorrect handling on skipValue
2022-03-04 20:50:49 +09:00
Nao Yonashiro accf52d695 fix: incorrect handling on skipValue
close #340
2022-03-04 20:01:05 +09:00
Nao Yonashiro 81519c48d8 fix: avoid reading the next character in buffer to nul consideration
fix #337
2022-02-22 19:22:48 +09:00
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