We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33e95b7 commit aa3ed23Copy full SHA for aa3ed23
JSONCodable/JSONString.swift
@@ -27,7 +27,7 @@ public extension JSONEncodable {
27
}
28
29
private func escapeJSONString(str: String) -> String {
30
- var chars = String.CharacterView()
+ var chars = String.CharacterView("\"")
31
for c in str.characters {
32
switch c {
33
case "\\":
0 commit comments