Closed sile closed 5 years ago
Merging #44 into master will decrease coverage by
0.01%
. The diff coverage is66.66%
.
@@ Coverage Diff @@
## master #44 +/- ##
==========================================
- Coverage 88.38% 88.37% -0.02%
==========================================
Files 3 3
Lines 267 344 +77
==========================================
+ Hits 236 304 +68
- Misses 31 40 +9
Impacted Files | Coverage Δ | |
---|---|---|
src/jsone.erl | 38.46% <ø> (+9.89%) |
:arrow_up: |
src/jsone_decode.erl | 98.34% <66.66%> (-0.81%) |
:arrow_down: |
src/jsone_encode.erl | 88.83% <0%> (+3.64%) |
: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 da850bd...0b9dc77. Read the comment docs.
This PR adds
reject_invalid_utf8
option. By setting the option with the valuefalse
when decoding, you can reject JSON strings that contain invalid UTF-8 byte sequences. See also: https://github.com/sile/jsone/issues/37