Commit Graph

1022 Commits

Author SHA1 Message Date
ErikPelli c1b23af63a
feat: support automatic camel case field key
Add camel case encoding option
Add camel case key conversion
Add camel case test
2022-05-25 16:36:37 +02:00
Masaaki Goshima 23bd66f4c0
Merge pull request #369 from zeroshade/stream-number-fix
Fix stream tokenizing respecting UseNumber
2022-05-07 03:59:58 +09:00
Matthew Topol 865b215890 fix stream tokenizing respecting UseNumber 2022-05-05 12:12:27 -04:00
Masaaki Goshima 3fdc55a60a
Merge pull request #368 from orisano/fix/#331
Improve performance on linkRecursiveCode
- cache linked recursive codes for compile
2022-05-03 13:59:05 +09:00
Nao Yonashiro c07df9add6 feat: improve performance on linkRecursiveCode
fix #331
2022-05-03 04:03:05 +09:00
Masaaki Goshima 41b2e78a03
Merge pull request #367 from orisano/fix/#335
Fix validation of decoding of UTF-8 character
2022-05-02 14:07:50 +09:00
Nao Yonashiro 42805aa953 fix: add escape sequence validation
fix #335
2022-04-29 17:16:25 +09:00
Masaaki Goshima 83eb186989
Merge pull request #366 from orisano/fix/#362
Fix struct type processing with embedded primitive type
2022-04-28 21:37:19 +09:00
Nao Yonashiro 66f8b2629d chore: use reflect.Ptr 2022-04-28 20:30:06 +09:00
Nao Yonashiro 944f8be027 chore: remove IsExported 2022-04-28 20:24:46 +09:00
Masaaki Goshima 7719c4e239
Merge pull request #365 from orisano/fix/#364
fix: care surrogate-pair for non stream string decoder
2022-04-28 18:33:39 +09:00
Nao Yonashiro af33c47846 fix: determining embedded structs was wrong
fix #362
2022-04-26 14:16:28 +09:00
Nao Yonashiro 6911114fb4 fix: to care surrogate-pair on stringDecoder
fix #364
2022-04-26 01:40:44 +09:00
Masaaki Goshima 22be3b9a93
Update CHANGELOG 2022-04-22 01:14:59 +09:00
Masaaki Goshima 337d02ffe6
Merge pull request #363 from orisano/fix/#359
fix: to care about the case of OpInterfacePtr
2022-04-22 01:02:20 +09:00
Nao Yonashiro 6db1acfcb6 fix: to care about the case of OpInterfacePtr
fix #359
2022-04-22 00:38:20 +09:00
Masaaki Goshima 171d975753
Merge pull request #361 from orisano/fix/#360
fix: add a fallback uint8 sliceDecoder to bytesDecoder
2022-04-13 00:41:29 +09:00
Nao Yonashiro 0da28e819a chore: add disable 2022-04-12 12:47:36 +09:00
Nao Yonashiro 4311bab3dc style: go fmt 2022-04-11 20:43:58 +09:00
Nao Yonashiro 5c2b1916eb chore: update golangci-lint version 2022-04-11 18:28:11 +09:00
Nao Yonashiro d9df77a119 fix: add a fallback uint8 sliceDecoder to bytesDecoder
fix #360
2022-04-07 18:10:49 +09:00
Masaaki Goshima 3a4ad31980
Merge pull request #356 from orisano/feat/add-debug-with
feat: add DebugWith option
2022-03-26 00:57:17 +09:00
Masaaki Goshima 54362b465e
Merge pull request #355 from orisano/fix/add-filtering-on-slow-path
fix: add filtering on slow path
2022-03-26 00:54:23 +09:00
Nao Yonashiro 321fe31260 feat: add DebugWith option 2022-03-25 05:13:32 +09:00
Nao Yonashiro e43fb0f990 fix: add filtering on slow path 2022-03-25 03:03:25 +09:00
Masaaki Goshima 7cb5120ad2
Merge pull request #353 from orisano/fix/#342
fix: an incompatible behavior on map key decoder
2022-03-24 16:43:54 +09:00
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 05585c6017
Update CHANGELOG 2022-03-22 15:24:26 +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