Commit Graph

1088 Commits

Author SHA1 Message Date
runcong zhang 744d40e437
Merge 40080c2aaf into 3e9769d637 2024-11-22 06:54:38 +00:00
Masaaki Goshima 3e9769d637
Update go.yml 2024-11-11 12:13:39 +09:00
Andrey Grazhdankov 65c8b28ca1
Fix encode []*time.Time - check nil (#524) 2024-11-11 11:10:21 +09:00
shamaton 5e2ae3f23c
Use io package instead of ioutil package (#498)
* update benchmarks go.mod

* use io package instead of deprecated ioutil package
2024-05-09 19:56:55 +09:00
Владимир Атаманов 3c67b038e0
Fix custom map marshaling (#505)
* fix custom map parshaling

* add additional tests
2024-05-09 19:53:38 +09:00
Masaaki Goshima 581620b5c5
Update go.yml 2024-05-09 19:51:03 +09:00
lizixing c352e8fb18
fix: fix a bug for escaping 0xE2 0x80 0xA8 in compactString (#479) 2024-05-09 10:28:44 +09:00
Muhammad Noor Misyuari df897aec9d
fix: decode struct with pointer must be nil (#473) 2023-10-19 16:13:09 +09:00
Masaaki Goshima 3d5ab28ab3
add license for encoding int processing 2023-10-13 12:44:19 +09:00
Masaaki Goshima 9b91208837
Add license for string processing (#476)
* add license for string processing

* update golangci-lint
2023-10-13 12:33:43 +09:00
runcong zhang 40080c2aaf feat:add map and array filter code 2023-08-04 22:30:58 +08:00
Masaaki Goshima 8e8cdeacf2
Update CHANGELOG 2023-03-20 05:01:20 +09:00
Nao Yonashiro 5e6fe10846
fix: fixed a problem with NextField being wrong when combining structure embedding and omitempty (#442)
fix #441
2023-03-20 04:54:48 +09:00
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