Commit Graph

1060 Commits

Author SHA1 Message Date
Masaaki Goshima e372b3498c Refactor 2020-12-30 01:32:06 +09:00
Masaaki Goshima 2356c0ceab Fix runtime error 2020-12-30 01:29:29 +09:00
Masaaki Goshima e98d4ea652 Add StructEnd to code type 2020-12-30 00:13:45 +09:00
Masaaki Goshima 17f7434e93 Add optimized StructEnd operation to vm 2020-12-29 23:17:39 +09:00
Masaaki Goshima 1f5e0cb5fd Add optimized StructEnd operation 2020-12-29 23:17:15 +09:00
Masaaki Goshima feeb05ad10
Update README.md 2020-12-27 21:28:10 +09:00
Masaaki Goshima 754ebd48b0
Merge pull request #76 from goccy/feature/fix-decoder
Fix streaming decoder for float value
2020-12-27 21:27:40 +09:00
Masaaki Goshima 76baae6ce8 Fix streaming decoder for float value 2020-12-27 20:42:43 +09:00
Masaaki Goshima 1d1572fb55
Merge pull request #74 from goccy/feature/add-escaped-op
Optimize about HTML Escape processing
2020-12-25 22:39:59 +09:00
Masaaki Goshima b8f43ca445 Optimize HTML escape operation 2020-12-25 22:26:59 +09:00
Masaaki Goshima 5741c733a6 Refactor indent code 2020-12-25 17:03:56 +09:00
Masaaki Goshima 5de8891c0c Add toEscaped API 2020-12-25 16:38:18 +09:00
Masaaki Goshima 9fb34e4449 Add Escaped operation 2020-12-25 16:06:25 +09:00
Masaaki Goshima 88316cfbeb
Merge pull request #73 from goccy/feature/improve-performance
Improve encoding performance
2020-12-25 04:14:56 +09:00
Masaaki Goshima f5daa592fa Improve encoding performance 2020-12-25 03:53:48 +09:00
Masaaki Goshima 26e4f7f455
Merge pull request #71 from goccy/feature/fix-decoder
Pass through complex encoding/json based test cases for decoder
2020-12-24 23:52:20 +09:00
Masaaki Goshima ad3e8bbbe3 Omit GC pressure mode 2020-12-24 23:48:35 +09:00
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