Closed m1ome closed 6 years ago
Merging #31 into master will not change coverage. The diff coverage is
100%
.
@@ Coverage Diff @@
## master #31 +/- ##
=====================================
Coverage 100% 100%
=====================================
Files 30 30
Lines 3388 3370 -18
=====================================
- Hits 3388 3370 -18
Impacted Files | Coverage Δ | |
---|---|---|
encode.go | 100% <100%> (ø) |
:arrow_up: |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update ca0442d...111c200. Read the comment docs.
We could also check if it's not an implementation of MarshalerJSONArray
, a string, or a number and use gojay, else we use standard json encoder. What do you think?
@francoispqt i will update PR, but it will BC changes IMO. Let me check this one.
@francoispqt added all failover stuff & speed up
@francoispqt any news on this one?
I am merging it to master. Will add a few tests and create new release. Sorry for delay, working on a code generator and having a lot of other things to do at work.
This is not breaking current
API
but provides a huge effort if you need a fallback for a marshaller. In cases you don't need a speed, but want to be sure that your object will be marshalled, if it's possible by default golang json implementation.Thank you!