Skip to content

Commit aa3ed23

Browse files
committed
bug fix
1 parent 33e95b7 commit aa3ed23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

JSONCodable/JSONString.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public extension JSONEncodable {
2727
}
2828

2929
private func escapeJSONString(str: String) -> String {
30-
var chars = String.CharacterView()
30+
var chars = String.CharacterView("\"")
3131
for c in str.characters {
3232
switch c {
3333
case "\\":

0 commit comments

Comments
 (0)