swift-extras / swift-extras-json

JSON encoding and decoding without the use of Foundation in pure Swift.
Apache License 2.0
348 stars 15 forks source link

Remove Encoder code from Decoder #14

Closed fabianfett closed 4 years ago

codecov-io commented 4 years ago

Codecov Report

Merging #14 into master will decrease coverage by 1.67%. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #14      +/-   ##
==========================================
- Coverage   89.57%   87.89%   -1.68%     
==========================================
  Files          30       30              
  Lines        4123     2851    -1272     
==========================================
- Hits         3693     2506    -1187     
+ Misses        430      345      -85
Impacted Files Coverage Δ
...ces/PureSwiftJSONCoding/Decoding/JSONDecoder.swift 93.44% <ø> (+6.48%) :arrow_up:
.../PureSwiftJSONCoding/JSONError+DecodingError.swift 32.6% <0%> (-13.95%) :arrow_down:
...ts/JSONCodingTests/Encoding/JSONEncoderTests.swift 84.44% <0%> (-5.27%) :arrow_down:
Tests/JSONParsingTests/StringParserTests.swift 86.82% <0%> (-3.84%) :arrow_down:
Tests/JSONParsingTests/NullParserTests.swift 90.47% <0%> (-3.28%) :arrow_down:
Tests/JSONParsingTests/JSONParserTests.swift 90% <0%> (-3.16%) :arrow_down:
...s/Decoding/JSONUnkeyedDecodingContainerTests.swift 89.01% <0%> (-3.08%) :arrow_down:
Tests/JSONParsingTests/BoolParserTests.swift 91.93% <0%> (-2.75%) :arrow_down:
...coding/JSONSingleValueDecodingContainerTests.swift 90.58% <0%> (-2.71%) :arrow_down:
... and 20 more

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 781fef2...ed08275. Read the comment docs.