Commit Graph

1003 Commits

Author SHA1 Message Date
Masaaki Goshima 3fa9900acb Add test case for float32 type 2021-05-08 22:38:38 +09:00
Masaaki Goshima 72cf940731
Merge pull request #220 from goccy/feature/fix-217
Fix calculating of length for stream decoder
2021-05-08 10:52:19 +09:00
Masaaki Goshima f3167760ff Fix stream decoder 2021-05-08 01:56:58 +09:00
Masaaki Goshima ab068b0858 Remove unnecessary code 2021-05-07 23:52:24 +09:00
Masaaki Goshima 23081eadad Fix calculating of length for stream decoder 2021-05-07 23:15:16 +09:00
Masaaki Goshima 3ec642d31f
Merge pull request #219 from goccy/feature/fix-218
Fix decoding of slice element
2021-05-07 21:43:09 +09:00
Masaaki Goshima 78e2bf2502 Fix decoding of slice element 2021-05-07 21:31:35 +09:00
Masaaki Goshima e570e5774f Add test case for uint type 2021-05-07 02:03:39 +09:00
Masaaki Goshima 40f049d8a1 Add test case for int type 2021-05-07 01:39:58 +09:00
Masaaki Goshima 87b93ad8a4 Fix lint error 2021-05-07 01:04:25 +09:00
Masaaki Goshima 4cade6589b Add test case 2021-05-07 00:55:15 +09:00
Masaaki Goshima e12b021c70 Fix limit of memory resource 2021-05-07 00:54:47 +09:00
Masaaki Goshima 4823e8bed3 Add omitempty and string operation for vm 2021-05-07 00:53:39 +09:00
Masaaki Goshima 7d7a5163c4 Add OmitEmpty and String operation for indent vm 2021-05-07 00:12:59 +09:00
Masaaki Goshima 56dabe2da4 Refactor StringTag operation 2021-05-06 20:54:22 +09:00
Masaaki Goshima 46bdba4a65
Merge pull request #212 from IncSW/tiny-refactoring
remove unnecessary goto
2021-05-06 13:10:12 +09:00
IncSW a52bba9099
revert initialize elem pointer & remove unnecessary benchmark 2021-05-05 21:31:22 +03:00
Masaaki Goshima 71b8e54730
Merge pull request #215 from goccy/feature/fix-stream-decoder-for-unicode
Fix stream decoder for unicode char
2021-05-06 03:10:40 +09:00
Masaaki Goshima 3b4e3255e3 Fix calculating of buffer length at reset 2021-05-06 02:46:01 +09:00
Masaaki Goshima d4a64f8cde Fix stream decoder for unicode char 2021-05-05 04:21:58 +09:00
Masaaki Goshima 31951a151c Update CHANGELOG 2021-05-04 02:52:34 +09:00
Masaaki Goshima 3eb4729dc3
Merge pull request #211 from goccy/feature/fix-stream-decoder
Fix stream decoder when use slow reader
2021-05-04 02:42:07 +09:00
IncSW f8aac1e69f
replace skipWhiteSpace goto by loop 2021-05-03 13:44:44 +03:00
IncSW 1adac38695
remove extra dereference 2021-05-03 13:43:05 +03:00
Masaaki Goshima 51905367ec
Merge pull request #200 from IncSW/slice-decoding-compatibility
when cap is enough, reuse slice data for compatibility with encoding/json
2021-05-03 17:11:43 +09:00
IncSW c7747ba9b2
remove unnecessary assignments 2021-05-03 10:55:17 +03:00
Masaaki Goshima b06cd9a056 Add benchmark task for CI 2021-05-03 16:25:44 +09:00
Masaaki Goshima 03e2c96136 Fix stream decoder for slow reader 2021-05-03 16:25:26 +09:00
Masaaki Goshima ac159966aa
Merge pull request #209 from goccy/feature/update-readme
Add sponsor section to the README
2021-05-02 17:37:36 +09:00
Masaaki Goshima 95e570ad0f
Merge pull request #208 from goccy/feature/fix-valid
Fix stream decoding for null/true/false value
2021-05-02 17:32:12 +09:00
Masaaki Goshima 287fd415ad Add sponsor section to the README 2021-05-02 17:31:08 +09:00
Masaaki Goshima 2034757368 Fix stream decoding for null/true/false value 2021-05-02 17:01:56 +09:00
Masaaki Goshima 82cc22a37f
Merge pull request #207 from goccy/feature/fix-decoding-of-back-slash-char
Fix decoding of backslash char at the end of string
2021-05-02 16:41:51 +09:00
Masaaki Goshima f341b31ea5 Fix decoding of backslash char at the end of string 2021-05-02 16:02:14 +09:00
Masaaki Goshima 2f3afbf6ad
Merge pull request #206 from goccy/feature/fix-decode-bytes-null
Fix decoding of null value to []byte by json.Unmarshal
2021-05-02 15:59:53 +09:00
Masaaki Goshima fb6151f556 Fix decoding of null value to []byte by json.Unmarshal 2021-05-02 15:26:36 +09:00
Masaaki Goshima 6a1ae7c1ca
Merge pull request #205 from goccy/feature/fix-nil-interface
Fix decoding of null value for interface type that doesn't implement Unmarshaler
2021-05-02 03:50:00 +09:00
Masaaki Goshima 275aade00d Fix decoding of null value for interface type that does not implement Unmarshaler 2021-05-02 03:36:58 +09:00
Masaaki Goshima 117e9eff37
Merge pull request #198 from goccy/feature/fix-decoding-of-slice
Fix decoding of slice with type implemented UnmarshalJSON
2021-05-01 19:11:37 +09:00
Masaaki Goshima 9e882fb664 Remove unused code 2021-05-01 14:56:49 +09:00
Masaaki Goshima 75b72584a5 Use typedmemmove for copying element of slice 2021-05-01 14:53:48 +09:00
IncSW e6ff77fe8d
remove useless dstCap var 2021-04-30 20:07:44 +03:00
IncSW 2ad2f11326
when cap is enough, reuse slice data for compatibility with encoding/json 2021-04-30 19:09:15 +03:00
Masaaki Goshima 6444a1b057 Fix checkptr error 2021-04-30 23:49:04 +09:00
Masaaki Goshima e647dafb41 Fix decoding of slice with unmarshal json type 2021-04-30 22:55:08 +09:00
Masaaki Goshima 17392ab716 Fix stream decoder 2021-04-30 04:06:23 +09:00
Masaaki Goshima 16a358048e if elem type is slice, clear it 2021-04-30 04:02:06 +09:00
Masaaki Goshima dc2d025d2a Add test case 2021-04-30 04:01:51 +09:00
Masaaki Goshima 4d51b8b764
Merge pull request #193 from goccy/feature/add-fastjson-to-benchmark
Add valyala/fastjson to benchmark
2021-04-28 17:25:09 +09:00
Masaaki Goshima 6cd0ab4ca9 Add valyala/fastjson to benchmark 2021-04-28 16:59:01 +09:00