Daisuke Maki
e81d6a67d2
Merge branch 'master' into golangci-lint
2021-02-02 07:49:45 +09:00
Daisuke Maki
0ac7b139e6
Add explicit 5m timeout
2021-02-01 13:04:06 +09:00
Masaaki Goshima
c410c7e5fa
Merge pull request #107 from goccy/feature/refactor-encoder
...
Refactor the encoder to fix a bug where streaming encoders can't reuse buffer
2021-02-01 12:19:34 +09:00
Daisuke Maki
aeefd45f33
it might be better if we enable this for pull_requests too
2021-02-01 12:17:18 +09:00
Daisuke Maki
21932ab583
Add a config file
2021-02-01 12:12:22 +09:00
Masaaki Goshima
1d91627890
Add codecov.yml
2021-02-01 12:05:28 +09:00
Masaaki Goshima
04da39a443
Fix error message
2021-02-01 12:01:56 +09:00
Masaaki Goshima
48b6fe21c6
Fix race error
2021-02-01 11:36:41 +09:00
Daisuke Maki
c3e7356903
Add a golangci-lint Github Action
...
The go vet is appended, because I have seen some important
lint issues that are disabled by golangci-lint being reported by
the vanilla go vet commnand
2021-02-01 06:37:26 +09:00
Masaaki Goshima
7895767eaa
Add benchmark for streaming encoding
2021-01-31 23:01:39 +09:00
Masaaki Goshima
ffc954d356
Fix MarshalNoEscape
2021-01-31 22:53:01 +09:00
Masaaki Goshima
61e533dca2
Refactor encoder
2021-01-31 22:45:59 +09:00
Masaaki Goshima
1ea4ffc9c8
Merge pull request #103 from goccy/feature/optimize-lookup-opcodeset
...
Improve performance of lookup of opcodeSet at encoding
2021-01-31 12:57:05 +09:00
Masaaki Goshima
90c2560b52
Fix accepatable address range
2021-01-31 02:30:48 +09:00
Masaaki Goshima
1c0b7e7c7d
Add benchmark for encoding of bool type
2021-01-31 01:49:35 +09:00
Masaaki Goshima
a6ea71d2f6
Improve performance of lookup opcodeSet at encoding
2021-01-31 01:48:54 +09:00
Masaaki Goshima
c655881253
Merge pull request #102 from goccy/feature/fix-decoding-escaped-char
...
Fix decoding of escape char at UnmarshalJSON
2021-01-30 02:09:57 +09:00
Masaaki Goshima
6e154ee727
Fix decoding of escape char at UnmarshalJSON
2021-01-30 02:03:31 +09:00
Masaaki Goshima
73dac85d26
Merge pull request #101 from goccy/feature/fix-marshaler-performance
...
Fix encoding of type which implemented MarshalJSON
2021-01-30 01:55:40 +09:00
Masaaki Goshima
0059153b07
Fix UnmarshalJSON for RawMessage type
2021-01-30 01:47:31 +09:00
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