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

Escape Control Characters when Encoding #9

Closed fabianfett closed 4 years ago

codecov-io commented 4 years ago

Codecov Report

Merging #9 into master will increase coverage by 1.19%. The diff coverage is 97.03%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master       #9      +/-   ##
==========================================
+ Coverage   75.39%   76.59%   +1.19%     
==========================================
  Files          23       24       +1     
  Lines        2272     2371      +99     
==========================================
+ Hits         1713     1816     +103     
+ Misses        559      555       -4
Impacted Files Coverage Δ
Sources/PureSwiftJSONParsing/JSONValue.swift 95.41% <100%> (+4.07%) :arrow_up:
...ces/PureSwiftJSONCoding/Encoding/JSONEncoder.swift 85.18% <100%> (+0.66%) :arrow_up:
...ONCodingTests/Learning/FoundationJSONEncoder.swift 100% <100%> (ø) :arrow_up:
Tests/JSONParsingTests/JSONValueTests.swift 100% <100%> (ø)
Tests/JSONParsingTests/StringParserTests.swift 90.28% <100%> (-0.43%) :arrow_down:
Sources/PureSwiftJSONParsing/DocumentReader.swift 93.46% <60%> (-0.63%) :arrow_down:
...ts/JSONCodingTests/Encoding/JSONEncoderTests.swift 91.04% <90%> (+1.46%) :arrow_up:
...ces/PureSwiftJSONCoding/Decoding/JSONDecoder.swift 85.13% <0%> (-0.4%) :arrow_down:
Sources/PureSwiftJSONParsing/JSONParser.swift 93.51% <0%> (-0.24%) :arrow_down:
... and 4 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 333509d...8cab1a1. Read the comment docs.