Commit Graph

1064 Commits

Author SHA1 Message Date
Masaaki Goshima a2149a5b25
Merge pull request #415 from goccy/fix-array-checkptr-error
Fix checkptr error for array decoder
2022-12-02 01:58:57 +09:00
Masaaki Goshima 1480e0046f
Fix checkptr error for array decoder 2022-12-02 01:51:29 +09:00
Masaaki Goshima 50a60f932b
Update CHANGELOG 2022-11-29 22:37:41 +09:00
Masaaki Goshima 5efc7d07ee
Merge pull request #412 from goccy/fix-json-path
Fix json path
2022-11-29 22:14:14 +09:00
Masaaki Goshima 1de494fd9a
Fix json path 2022-11-29 21:44:55 +09:00
Masaaki Goshima d8329d56f9
Update path.go 2022-11-29 04:07:50 +09:00
Masaaki Goshima 9b472af6fa
Merge pull request #250 from goccy/feature/json-path
Support JSON Path for decoding
2022-11-29 04:01:31 +09:00
Masaaki Goshima 781a0b3e85
Support JSON Path 2022-11-29 03:55:56 +09:00
Masaaki Goshima d7c473e006
Merge pull request #410 from asaf-shitrit/patch-1
Typo fix in README.md file
2022-11-15 21:12:46 +09:00
Asaf Shitrit 2163995ea5
Typo fix in README.md file
A minor typo in the sentence "Therefore, the arguments for `Marshal` and `Unmarshal` are always escape to the heap."
The word "escape" should be "escaped" 🙂
2022-11-15 14:10:06 +02:00
Masaaki Goshima 32ec93b983
Merge pull request #409 from brongineers/master
Ignore MarshalJSON when encoding map's key
2022-11-15 12:31:02 +09:00
brongineers 6bca989643 test key map MarshalText with std 2022-11-14 22:11:00 +03:00
brongineers 705f51716b fix custom marshal for map key 2022-11-13 21:05:50 +03:00
Masaaki Goshima 41ad89fe02
Fix golangci-lint action 2022-08-18 12:48:27 +09:00
Masaaki Goshima 30713917a8
Update CHANGELOG 2022-08-18 12:15:19 +09:00
Masaaki Goshima 4cf345ebdf
Merge pull request #383 from KimHyeonwoo/master
Fix unexpected behavior when buffer ends with backslash
2022-08-03 21:18:37 +09:00
KimHyeonwoo f83142d838 replace statForRetry with stat (review reflected) 2022-08-02 12:07:48 +09:00
Masaaki Goshima a75c1c6096
Merge pull request #387 from orisano/fix/#386
Fix stream decoding of escaped character
2022-08-01 20:28:38 +09:00
Nao Yonashiro 95a32fc038 fix: forgot to update p after read
fix #386
2022-07-29 13:58:00 +09:00
Tommy Hyeonwoo Kim e5e8ed62c8
Update decode_test.go
Co-authored-by: Sungyun Hur <ethan0311@gmail.com>
2022-07-19 00:06:47 +09:00
KimHyeonwoo f584919518 fix testcase to more clear one 2022-07-18 22:15:35 +09:00
KimHyeonwoo 229339ecd5 add more test 2022-07-18 22:03:42 +09:00
KimHyeonwoo 3e25104a7c fix cursor issue for `skipArray`, `skipValue` 2022-07-18 21:35:32 +09:00
KimHyeonwoo 61705df089 add test 2022-07-18 21:34:12 +09:00
KimHyeonwoo 70d6286ba8 fix cursor issue 2022-07-18 19:41:08 +09:00
Masaaki Goshima 3eafdb6129
Update CHANGELOG 2022-07-15 19:12:47 +09:00
Masaaki Goshima f244348d43
Merge pull request #382 from Trim21/fix/381
Fix boundary exception of type caching
2022-07-15 19:10:22 +09:00
Masaaki Goshima 190c2e30bd
Update CHANGELOG 2022-07-15 16:59:13 +09:00
Trim21 9a9f9adb05
fix encoder and decoder cache slice edge case 2022-07-10 09:15:33 +08:00
Masaaki Goshima a812201b02
Merge pull request #380 from orisano/fix/#374
Fix unicode decoding when the expected buffer state is not met after reading
2022-07-10 02:02:16 +09:00
Nao Yonashiro 79d8df005a
Merge branch 'master' into fix/#374 2022-07-07 15:12:08 +09:00
Masaaki Goshima 88aa13e300
Fix comment for #379 2022-07-07 14:52:28 +09:00
Masaaki Goshima 8459403e25
Merge pull request #379 from orisano/fix/#370
Fix slice/array type encoding with types implementing MarshalJSON
2022-07-07 14:46:02 +09:00
Nao Yonashiro 8f5055b06a fix: In decodeUnicode, the case that the expected buffer's state is not satisfied after reading.
fix #374
2022-07-07 00:42:31 +09:00
Nao Yonashiro 565e07e45c fix: change isPtr to true on listElemCode
fix #370
2022-07-06 16:47:00 +09:00
Masaaki Goshima 554506d1f4
Merge pull request #378 from orisano/fix/#372
Fix embedded primitive type encoding using alias
2022-07-05 14:21:31 +09:00
Nao Yonashiro f0e6a549f2 fix: support for embedding alias of primitive types
fix #372
2022-07-04 14:46:17 +09:00
Masaaki Goshima 1468eefb01
Merge pull request #377 from orisano/fix/#376
Fix encoding of directed interface with typed nil
2022-07-04 14:07:04 +09:00
Nao Yonashiro 884b8dbf9a refactor: to check for IsDirectedNil only if ifacePtr == nil 2022-07-03 22:39:31 +09:00
Nao Yonashiro c8d6da88dd fix: confusing nil in direct interface with typed nil
fix #376
2022-07-03 06:05:26 +09:00
Masaaki Goshima 27bd0f2aab
Update CHANGELOG 2022-06-30 02:38:52 +09:00
Masaaki Goshima 6726210c9c
Merge pull request #375 from orisano/fix/#339
fix: wrong the detection method of nilable
2022-06-30 02:18:57 +09: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
Nao Yonashiro 2ea7ab6e24 fix: wrong the detection method of nilable
fix #339
2022-05-04 23:40:12 +09: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