Commit Graph

993 Commits

Author SHA1 Message Date
Masaaki Goshima 44ae468930 Fix array decoder 2020-12-24 23:14:58 +09:00
Masaaki Goshima 3ffbfe413f Remove checkptr flag 2020-12-24 21:56:52 +09:00
Masaaki Goshima 8ba8567a2b Add gcflags 2020-12-24 21:53:44 +09:00
Masaaki Goshima 06e2230d8d Fix decoder by using checkptr flag 2020-12-24 21:52:40 +09:00
Masaaki Goshima d3afb57900 Omit Parallel execution of test case 2020-12-24 20:38:42 +09:00
Masaaki Goshima d08d476915 Add GOGC=off 2020-12-24 20:34:52 +09:00
Masaaki Goshima 8e21f90189 Add segmentio/encoding/json to benchmark of decoder 2020-12-24 20:20:26 +09:00
Masaaki Goshima 22ef64f4a5 Add test cases 2020-12-24 20:08:27 +09:00
Masaaki Goshima 8628848924 Fix decoding of []byte type 2020-12-24 19:36:49 +09:00
Masaaki Goshima 048ba8296d Add all unmarshal test cases 2020-12-24 18:58:34 +09:00
Masaaki Goshima 66b1c768fe Add error handling for unmarshal text 2020-12-24 18:45:26 +09:00
Masaaki Goshima cfb569220d Remove debug log 2020-12-24 18:45:04 +09:00
Masaaki Goshima 23290f4ce4 Fix error case 2020-12-24 18:30:11 +09:00
Masaaki Goshima 080bd5e4eb Fix UnmarshalTypeError 2020-12-24 17:47:53 +09:00
Masaaki Goshima ba4d7d2885 Fix []byte with unmarshaler 2020-12-24 14:26:18 +09:00
Masaaki Goshima 9f125be311 Add test case with comment 2020-12-23 14:39:15 +09:00
Masaaki Goshima 6c3382dc4e Support multiple pointer 2020-12-23 13:13:34 +09:00
Masaaki Goshima 7e55f41a59 Fix encoding of nil value for opMarshalText 2020-12-23 01:42:49 +09:00
Masaaki Goshima 24aa07e47f Merge branch 'master' of github.com:goccy/go-json into feature/fix-decoder 2020-12-23 01:37:54 +09:00
Masaaki Goshima 1dee747400 Assign nil at null value 2020-12-23 01:29:13 +09:00
Masaaki Goshima b4a3ab8203 Fix rule of lower key 2020-12-23 01:28:56 +09:00
Masaaki Goshima 6506007b6c Fix decoding of embeded struct 2020-12-22 21:55:59 +09:00
Masaaki Goshima d7b9036e88 Fix overflow handling for int/uint decoder 2020-12-21 15:48:57 +09:00
Masaaki Goshima 376ae457f3
Update README.md 2020-12-21 01:14:21 +09:00
Masaaki Goshima e6dce23cb8
Merge pull request #70 from goccy/feature/refactor-buffering
Significantly improve encoding performance
2020-12-21 00:39:59 +09:00
Masaaki Goshima 16309e2635 Refactor int encoding 2020-12-20 22:59:23 +09:00
Masaaki Goshima 9e97505584 Remove sync.Pool for encodeRuntimeContext 2020-12-20 20:09:41 +09:00
Masaaki Goshima 7083274627 Fix initialize seenPtr 2020-12-20 19:08:20 +09:00
Masaaki Goshima d85327b458 Replace int/uint encoding implementation 2020-12-20 04:02:03 +09:00
Masaaki Goshima fdce754b17 Expand source for string encoding 2020-12-20 04:02:03 +09:00
Masaaki Goshima 01b439e41e Refactor buffering of encoder for improvement performance 2020-12-20 04:02:03 +09:00
Masaaki Goshima 920c79e0b7
Merge pull request #69 from goccy/feature/add-benchmark
Add github.com/segmentio/encoding/json to benchmark
2020-12-20 04:01:21 +09:00
Masaaki Goshima 7028c33e67 Add github.com/segmentio/encoding/json to benchmark 2020-12-20 03:57:24 +09:00
Masaaki Goshima 0e0bf702c1
Merge pull request #68 from goccy/feature/add-benchmark
Optimize access to opcodeMap
2020-12-15 14:55:13 +09:00
Masaaki Goshima 6eb02f7ac0 Optimize access to opcodeMap 2020-12-15 14:46:10 +09:00
Masaaki Goshima d88eb0986e Fix UnmarshalTypeError for int decoder 2020-12-15 12:29:19 +09:00
Masaaki Goshima 85577616f8 Support int and uint types as map key type 2020-12-12 18:09:46 +09:00
Masaaki Goshima 2e411ac3f6
Merge pull request #67 from zchee/const-uintptrSize
Change uintptrSize to constant
2020-12-09 19:57:29 +09:00
Koichi Shiraishi cdac126d80
Change uintptrSize to constant 2020-12-09 19:20:51 +09:00
Masaaki Goshima 699ab766f5 Fix read timing and test case 2020-12-07 11:40:03 +09:00
Masaaki Goshima 59f5713178 Fix double pointer 2020-12-07 10:49:00 +09:00
Masaaki Goshima ee52d7f0ae Fix double pointer 2020-12-07 10:44:24 +09:00
Masaaki Goshima 5a8383f0d2 Fix ptrIndex 2020-12-06 19:59:39 +09:00
Masaaki Goshima 4332d1353e Fix stream decoding 2020-12-05 22:27:33 +09:00
Masaaki Goshima 7f97aca5e6 Fix skipValue 2020-11-27 17:41:47 +09:00
Masaaki Goshima 7421d82c43 Fix syntax error 2020-11-27 17:11:53 +09:00
Masaaki Goshima 47b7f4a5a2 Fix decoding for UnmarshalJSON / UnmarshalText 2020-11-24 20:15:11 +09:00
Masaaki Goshima 5c82b00ee7 Add structName and fieldName argument to each constructor of decoder for UnmarshalTypeError 2020-11-23 17:16:31 +09:00
Masaaki Goshima 73ba04190f
Merge pull request #62 from zchee/fix-decode-checkptr
Fix checkptr validation error on decode
2020-11-23 14:51:05 +09:00
Koichi Shiraishi 2b4097577d
Pass expression to unsafe.Pointer directly 2020-11-23 14:13:45 +09:00