Commit Graph

1012 Commits

Author SHA1 Message Date
Masaaki Goshima 84c8b84671 Fix encoding of type which implemented MarshalJSON 2021-01-30 01:14:22 +09:00
Masaaki Goshima 2558d4399f Add benchmark for encoding of type which implemented MarshalJSON 2021-01-28 22:19:16 +09:00
Masaaki Goshima 94dcae2d48
Merge pull request #100 from goccy/feature/optimize-encoder
Optimize copy of byte slice for encoder
2021-01-27 12:11:18 +09:00
Masaaki Goshima 182826fe68 Optimize encoding engine 2021-01-27 10:58:40 +09:00
Masaaki Goshima fe1fa3915a
Merge pull request #99 from goccy/feature/add-bench
Add some benchmarks for encoder
2021-01-27 10:58:23 +09:00
Masaaki Goshima 2c95711d45 Add benchmark 2021-01-26 23:56:10 +09:00
Masaaki Goshima 72e9fa8193
Merge pull request #97 from goccy/feature/fix-interface
Fix interface operation and optimize map operation
2021-01-25 13:22:30 +09:00
Masaaki Goshima 02797daba4 Optimize map operation 2021-01-25 13:10:07 +09:00
Masaaki Goshima 0be236361a Improve performance of encoding map type ( escaped and not indented ) 2021-01-25 00:23:07 +09:00
Masaaki Goshima 689587cd72 Fix indent encoding 2021-01-25 00:06:16 +09:00
Masaaki Goshima 75f34df1c6 Fix interface operation 2021-01-24 23:27:23 +09:00
Masaaki Goshima d59d465042 Remove InterfaceEnd operation 2021-01-24 23:04:54 +09:00
Masaaki Goshima 0771b8c7fc Fix cast of interface type 2021-01-24 22:59:17 +09:00
Masaaki Goshima c09798d552 Fix interface operation 2021-01-24 20:39:59 +09:00
Masaaki Goshima ee36bdedb6 Fix interface 2021-01-24 17:20:36 +09:00
Masaaki Goshima ef70c61783 Add benchmark for map[string]inteface{} 2021-01-24 15:18:15 +09:00
Masaaki Goshima 399354d64d Fix encoding runner interface 2021-01-24 15:17:39 +09:00
Masaaki Goshima 86ae7d931a
Merge pull request #95 from goccy/feature/fix-unsupport-op
Fix #93
2021-01-22 22:02:54 +09:00
Masaaki Goshima 20b409ed1f Fix operation of StructFieldOmitEmptyMarshalJSON 2021-01-22 20:08:57 +09:00
Masaaki Goshima ea71048fce Fix decoding of `null` bytes for struct type 2021-01-22 20:06:37 +09:00
Masaaki Goshima bf5220c3fb Fix struct end operation 2021-01-22 20:06:20 +09:00
Masaaki Goshima f8b2b03584 Fix forgot to add key in omitempty field 2021-01-22 18:31:07 +09:00
Masaaki Goshima fa4d5842e6 Fix encoding of pointered MarshalJSON type with omitempty 2021-01-22 18:26:28 +09:00
Masaaki Goshima d59cdefc1d Add StructFieldOmitEmptyStringPtr 2021-01-22 18:19:54 +09:00
Masaaki Goshima d933310ad4 Keep reference value while encoding by MarshalJSON 2021-01-22 16:28:12 +09:00
Masaaki Goshima d4b5171fdf
Merge pull request #94 from goccy/feature/fix-issue93
Fix some bugs of encoder/decoder ( for #93 )
2021-01-22 14:11:58 +09:00
Masaaki Goshima 3682ec0cf3 Copy buffer to decode of UnmarshalJSON 2021-01-22 14:01:01 +09:00
Masaaki Goshima 305e858ea1 Fix encoding with nil pointer type of implementing MarshalJSON 2021-01-22 13:28:33 +09:00
Masaaki Goshima ccf319b2b0 Fix decoding of interface type 2021-01-22 13:28:03 +09:00
Masaaki Goshima 020aaffd4c
Merge pull request #92 from goccy/feature/coverage
Add test cases for string type
2021-01-21 00:34:52 +09:00
Masaaki Goshima d859255868 Add test cases for string type 2021-01-21 00:22:20 +09:00
Masaaki Goshima aea9579a7b
Merge pull request #91 from goccy/feature/coverage
Add test cases for float32/float64 type
2021-01-19 21:08:24 +09:00
Masaaki Goshima d1cfcb0450 Add test cases for float32/float64 type 2021-01-19 20:41:14 +09:00
Masaaki Goshima 8578b68bf3
Merge pull request #90 from goccy/feature/coverage
Add test cases for unsigned integer types
2021-01-19 15:03:10 +09:00
Masaaki Goshima 9c6aff7317 Add test cases for unsigned integer types 2021-01-19 14:54:27 +09:00
Masaaki Goshima 30ab976eb4 Add compatible test 2021-01-19 14:01:43 +09:00
Masaaki Goshima e6e5fe665c
Merge pull request #89 from goccy/feature/coverage
Add test cases for int32 and int64 type
2021-01-18 22:43:45 +09:00
Masaaki Goshima 5eaa3c023c Add test cases for int64 type 2021-01-18 22:35:10 +09:00
Masaaki Goshima 861236119a Add test cases for int32 type 2021-01-18 21:50:52 +09:00
Masaaki Goshima 8b3bc49833
Merge pull request #88 from goccy/feature/fix-optype
Reduce code size of encode_optype.go
2021-01-17 22:40:40 +09:00
Masaaki Goshima 3989252ca9 Reduce code size of encode_optype.go 2021-01-17 22:23:28 +09:00
Masaaki Goshima 5209a753d2
Merge pull request #87 from goccy/feature/coverage
Add test cases for int16 type
2021-01-17 22:14:03 +09:00
Masaaki Goshima a5c43958f9 Add test cases for int16 type 2021-01-17 22:06:16 +09:00
Masaaki Goshima 87882a9111 Sort operation 2021-01-17 15:49:34 +09:00
Masaaki Goshima b9480a6449
Merge pull request #86 from goccy/feature/add-test
Add test cases for int8 type
2021-01-17 03:42:36 +09:00
Masaaki Goshima e9efe2fced Add test cases for int8 type 2021-01-17 02:53:54 +09:00
Masaaki Goshima 274b9026bd
Merge pull request #85 from goccy/feature/refactor-layout
Refactor file layout for test
2021-01-17 00:37:36 +09:00
Masaaki Goshima 3db1bb8656 Update Makefile 2021-01-16 22:18:44 +09:00
Masaaki Goshima 33f35f52ba Refactor file layout for coverage 2021-01-16 22:16:26 +09:00
Masaaki Goshima dc52214313
Merge pull request #84 from goccy/feature/add-benchmark-target
Add benchmark target
2021-01-15 16:53:55 +09:00