Skip to content

Commit f261e70

Browse files
committed
Fix comma-spacing on version string.
1 parent 74c3f1c commit f261e70

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ let package = Package(
118118
name: "YOUR_PROJECT_NAME",
119119
targets: [],
120120
dependencies: [
121-
.Package(url: "https://github.com/SwiftyJSON/SwiftyJSON.git", versions: Version(1,0,0)..<Version(3, .max, .max)),
121+
.Package(url: "https://github.com/SwiftyJSON/SwiftyJSON.git", versions: Version(1, 0, 0)..<Version(3, .max, .max)),
122122
]
123123
)
124124
```
@@ -215,7 +215,7 @@ for (index,subJson):(String, JSON) in json {
215215

216216
##### SwiftyJSON 4.x
217217

218-
SwiftyJSON 4.x introduces an enum type called `SwiftyJSONError`, which includes `unsupportedType`, `indexOutOfBounds`, `elementTooDeep`, `wrongType`, `notExist` and `invalidJSON`, at the same time, `ErrorDomain` are being replaced by `SwiftyJSONError.errorDomain`.
218+
SwiftyJSON 4.x introduces an enum type called `SwiftyJSONError`, which includes `unsupportedType`, `indexOutOfBounds`, `elementTooDeep`, `wrongType`, `notExist` and `invalidJSON`, at the same time, `ErrorDomain` are being replaced by `SwiftyJSONError.errorDomain`.
219219
Note: Those old error types are deprecated in SwiftyJSON 4.x and will be removed in the future release.
220220

221221
##### SwiftyJSON 3.x
@@ -457,7 +457,7 @@ It is possible to merge one JSON into another JSON. Merging a JSON into another
457457

458458
If both JSONs contain a value for the same key, _mostly_ this value gets overwritten in the original JSON, but there are two cases where it provides some special treatment:
459459

460-
- In case of both values being a `JSON.Type.array` the values form the array found in the `other` JSON getting appended to the original JSON's array value.
460+
- In case of both values being a `JSON.Type.array` the values form the array found in the `other` JSON getting appended to the original JSON's array value.
461461
- In case of both values being a `JSON.Type.dictionary` both JSON-values are getting merged the same way the encapsulating JSON is merged.
462462

463463
In case, where two fields in a JSON have a different types, the value will get always overwritten.

0 commit comments

Comments
 (0)