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

Allow `encode<T: Encodable>(_ value: T)` in JSONSingleValueEncodingContainer #24

Closed fabianfett closed 4 years ago

fabianfett commented 4 years ago

fixes #19

codecov-io commented 4 years ago

Codecov Report

Merging #24 into master will increase coverage by 0.08%. The diff coverage is 95.23%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #24      +/-   ##
==========================================
+ Coverage   87.87%   87.95%   +0.08%     
==========================================
  Files          31       32       +1     
  Lines        2894     2915      +21     
==========================================
+ Hits         2543     2564      +21     
  Misses        351      351              
Impacted Files Coverage Δ
...ng/Encoding/JSONSingleValueEncodingContainer.swift 50.00% <87.50%> (+11.11%) :arrow_up:
...coding/JSONSingleValueEncodingContainerTests.swift 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 f5a249d...d21c160. Read the comment docs.

adam-fowler commented 4 years ago

Looks good