Closed sile closed 2 years ago
Merging #67 (8176612) into master (6ba5456) will increase coverage by
0.89%
. The diff coverage is100.00%
.
@@ Coverage Diff @@
## master #67 +/- ##
==========================================
+ Coverage 90.54% 91.43% +0.89%
==========================================
Files 3 4 +1
Lines 296 327 +31
==========================================
+ Hits 268 299 +31
Misses 28 28
Impacted Files | Coverage Δ | |
---|---|---|
src/jsone.erl | 68.75% <100.00%> (+2.08%) |
:arrow_up: |
src/jsone_inet.erl | 100.00% <100.00%> (ø) |
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 6ba5456...8176612. Read the comment docs.
This PR adds a utility function
jsone:io_address_to_json_string/1
to encode IP addresses (i.e.,inet:ip_addresss()
values). This function can be specified as the value of themap_unknown_value
encoding option. Please see the doc of the function and the following example for the detail.Related issue: #49