You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -215,7 +215,7 @@ for (index,subJson):(String, JSON) in json {
215
215
216
216
##### SwiftyJSON 4.x
217
217
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`.
219
219
Note: Those old error types are deprecated in SwiftyJSON 4.x and will be removed in the future release.
220
220
221
221
##### SwiftyJSON 3.x
@@ -457,7 +457,7 @@ It is possible to merge one JSON into another JSON. Merging a JSON into another
457
457
458
458
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:
459
459
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.
461
461
- In case of both values being a `JSON.Type.dictionary` both JSON-values are getting merged the same way the encapsulating JSON is merged.
462
462
463
463
In case, where two fields in a JSON have a different types, the value will get always overwritten.
0 commit comments