Anviking / Decodable

[Probably deprecated] Swift 2/3 JSON unmarshalling done (more) right
MIT License
1.04k stars 73 forks source link

Problems with complex expressions in initializers #129

Open Anviking opened 7 years ago

Anviking commented 7 years ago
func init(json: Any) throws {
    // Chooses Any-overload instead of generic overload => error
    try id = json => "object" => "id" 
}

Filed SR-3148.