Commit Graph

1075 Commits

Author SHA1 Message Date
Nao Yonashiro 4d199a4b2c
feat: added the option to output opcodes as dot (#440) 2023-03-20 04:53:43 +09:00
Masaaki Goshima 098041a708
Update CI (#439) 2023-03-13 21:24:58 +09:00
Masaaki Goshima fbd4feeb60
Update CHANGELOG 2023-03-13 21:04:33 +09:00
Nao Yonashiro 6f969b6d5f
fix: fixed an issue that could not set the correct NextField for fields in the embedded structure (#438)
fix #391
2023-03-13 20:54:51 +09:00
Anders Brander 7be58ac89d
Fix mapDecoder.DecodeStream() to accept empty objects containing whitespace (#425) 2023-03-13 20:01:01 +09:00
Nao Yonashiro f32a307caf
fix: fixed a problem that MarshalIndent does not work when UnorderedMap is specified (#435) 2023-03-13 19:58:11 +09:00
Nao Yonashiro 2ef15e72f8
fix: fixed to not optimize when lower can't handle byte-by-byte. (#432) 2023-03-13 19:57:24 +09:00
Masaaki Goshima b68305f5d1
Merge pull request #431 from orisano/fix/#426
fix: fixed handling of anonymous fields other than struct
2023-03-13 19:43:45 +09:00
Masaaki Goshima 8a4a17d370
Merge pull request #430 from orisano/fix/#429
fix: added buffer size check when decoding key
2023-03-13 19:41:09 +09:00
Nao Yonashiro 06ab2b4c88
fix: fixed handling of anonymous fields other than struct
fix #426
2023-02-24 09:20:14 +09:00
Nao Yonashiro cdbc29239b
fix: added buffer size check when decoding key
fix #429
2023-02-22 20:54:26 +09:00
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