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

Don’t encode NaN and Infinity #13

Closed fabianfett closed 4 years ago

codecov-io commented 4 years ago

Codecov Report

Merging #13 into master will increase coverage by 0.21%. The diff coverage is 89.36%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #13      +/-   ##
==========================================
+ Coverage    88.8%   89.02%   +0.21%     
==========================================
  Files          34       34              
  Lines        3074     3261     +187     
==========================================
+ Hits         2730     2903     +173     
- Misses        344      358      +14
Impacted Files Coverage Δ
...ONCoding/Encoding/JSONKeyedEncodingContainer.swift 63.23% <100%> (+8.23%) :arrow_up:
...Coding/Encoding/JSONUnkeyedEncodingContainer.swift 56.06% <100%> (+9.5%) :arrow_up:
...ng/Encoding/JSONSingleValueEncodingContainer.swift 61.53% <100%> (+11.53%) :arrow_up:
...ts/JSONCodingTests/Encoding/JSONEncoderTests.swift 86.91% <85.71%> (-0.78%) :arrow_down:
...sts/Encoding/JSONKeyedEncodingContainerTests.swift 90.8% <86.95%> (-4.32%) :arrow_down:
...s/Encoding/JSONUnkeyedEncodingContainerTests.swift 90.8% <88.46%> (-3.49%) :arrow_down:
...sts/LearningTests/FoundationJSONEncoderTests.swift 92.98% <91.66%> (-1.14%) :arrow_down:

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 92f2f45...25aa063. Read the comment docs.