Skip to content

Commit a76d81d

Browse files
Fixed Spelling mistake - writing has one 't'
1 parent dadbfcf commit a76d81d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Source/SwiftyJSON.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -647,7 +647,7 @@ extension JSON: Swift.RawRepresentable {
647647
}
648648
}
649649

650-
public func rawString(_ options: [writtingOptionsKeys: Any]) -> String? {
650+
public func rawString(_ options: [writingOptionsKeys: Any]) -> String? {
651651
let encoding = options[.encoding] as? String.Encoding ?? String.Encoding.utf8
652652
let maxObjectDepth = options[.maxObjextDepth] as? Int ?? 10
653653
do {
@@ -660,7 +660,7 @@ extension JSON: Swift.RawRepresentable {
660660

661661
fileprivate func _rawString(
662662
_ encoding: String.Encoding = .utf8,
663-
options: [writtingOptionsKeys: Any],
663+
options: [writingOptionsKeys: Any],
664664
maxObjectDepth: Int = 10
665665
) throws -> String? {
666666
if (maxObjectDepth < 0) {
@@ -1477,7 +1477,7 @@ func >=(lhs: NSNumber, rhs: NSNumber) -> Bool {
14771477
}
14781478
}
14791479

1480-
public enum writtingOptionsKeys {
1480+
public enum writingOptionsKeys {
14811481
case jsonSerialization
14821482
case castNilToNSNull
14831483
case maxObjextDepth

0 commit comments

Comments
 (0)