Open patrickfreed opened 3 years ago
Merging #68 (1b1c179) into main (122b945) will increase coverage by
0.28%
. The diff coverage is84.52%
.
@@ Coverage Diff @@
## main #68 +/- ##
==========================================
+ Coverage 85.91% 86.19% +0.28%
==========================================
Files 13 13
Lines 1271 1355 +84
==========================================
+ Hits 1092 1168 +76
- Misses 179 187 +8
Impacted Files | Coverage Δ | |
---|---|---|
Sources/ExtrasJSON/JSONValue.swift | 91.41% <84.52%> (-3.89%) |
:arrow_down: |
...ON/Decoding/JSONSingleValueDecodingContainer.swift | 100.00% <0.00%> (+3.17%) |
:arrow_up: |
...ON/Encoding/JSONSingleValueEncodingContainer.swift | 68.51% <0.00%> (+5.55%) |
: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 122b945...1b1c179. Read the comment docs.
This PR adds the following extensions to the
JSONValue
enum:ExpressibleByXLiteral
protocols (so e.g.let x: JSON = ["y": [ "z": [1, 2.2, false]]]
is possible)Codable
protocol (if you want a loosely typed value as part of yourCodable
struct, for example)