JSONDictionary
public class JSONDictionary<T: JSONDeserializer>: JSONDeserializer
Deserializer type for Dictionary.
Note
TheDictionary‘s Key type is String all that’s all JSON allows.
-
Outputs a dictionary mapping
Strings toT‘s output type.Declaration
Swift
public typealias Deserialized = [String: T.Deserialized] -
Deserializes
dictionaryand its contents.Throws
LetsT.deserialize‘s errors go through.Declaration
Swift
public static func deserialize(dictionary: NSDictionary) throws -> Deserialized
View on GitHub
Install in Dash
JSONDictionary Class Reference