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
@available(*, deprecated, message:"ErrorUnsupportedType is deprecated. Use `SwiftyJSONError.unsupportedType` instead.", renamed:"SwiftyJSONError.unsupportedType")
33
-
publicletErrorUnsupportedType:Int=999
34
-
@available(*, deprecated, message:"ErrorIndexOutOfBounds is deprecated. Use `SwiftyJSONError.indexOutOfBounds` instead.", renamed:"SwiftyJSONError.indexOutOfBounds")
35
-
publicletErrorIndexOutOfBounds:Int=900
36
-
@available(*, deprecated, message:"ErrorWrongType is deprecated. Use `SwiftyJSONError.wrongType` instead.", renamed:"SwiftyJSONError.wrongType")
37
-
publicletErrorWrongType:Int=901
38
-
@available(*, deprecated, message:"ErrorNotExist is deprecated. Use `SwiftyJSONError.notExist` instead.", renamed:"SwiftyJSONError.notExist")
39
-
publicletErrorNotExist:Int=500
40
-
@available(*, deprecated, message:"ErrorInvalidJSON is deprecated. Use `SwiftyJSONError.invalidJSON` instead.", renamed:"SwiftyJSONError.invalidJSON")
41
-
publicletErrorInvalidJSON:Int=490
42
-
43
27
publicenumSwiftyJSONError:Int,Swift.Error{
44
28
case unsupportedType =999
45
29
case indexOutOfBounds =900
@@ -146,19 +130,6 @@ public struct JSON {
146
130
}
147
131
}
148
132
149
-
/**
150
-
Creates a JSON from JSON string
151
-
152
-
- parameter json: Normal json string like '{"a":"b"}'
0 commit comments