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

JSONParser: Better error message when debugging #15

Closed fabianfett closed 4 years ago

codecov-io commented 4 years ago

Codecov Report

Merging #15 into master will decrease coverage by 1.78%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #15      +/-   ##
==========================================
- Coverage   89.57%   87.78%   -1.79%     
==========================================
  Files          30       30              
  Lines        4123     2849    -1274     
==========================================
- Hits         3693     2501    -1192     
+ Misses        430      348      -82     
Impacted Files Coverage Δ
Sources/PureSwiftJSONParsing/JSONParser.swift 91.36% <100.00%> (-2.61%) :arrow_down:
.../PureSwiftJSONCoding/JSONError+DecodingError.swift 32.60% <0.00%> (-13.95%) :arrow_down:
Tests/JSONParsingTests/StringParserTests.swift 86.82% <0.00%> (-3.84%) :arrow_down:
...ts/JSONCodingTests/Encoding/JSONEncoderTests.swift 86.36% <0.00%> (-3.35%) :arrow_down:
Tests/JSONParsingTests/NullParserTests.swift 90.47% <0.00%> (-3.28%) :arrow_down:
Tests/JSONParsingTests/JSONParserTests.swift 90.00% <0.00%> (-3.16%) :arrow_down:
...s/Decoding/JSONUnkeyedDecodingContainerTests.swift 89.01% <0.00%> (-3.08%) :arrow_down:
Tests/JSONParsingTests/BoolParserTests.swift 91.93% <0.00%> (-2.75%) :arrow_down:
...coding/JSONSingleValueDecodingContainerTests.swift 90.58% <0.00%> (-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...7cf01ce. Read the comment docs.