diff --git a/prototype/Doubt/JSON.swift b/prototype/Doubt/JSON.swift index 355ba2806..a44cfe4a9 100644 --- a/prototype/Doubt/JSON.swift +++ b/prototype/Doubt/JSON.swift @@ -95,8 +95,8 @@ public enum JSON: ArrayLiteralConvertible, BooleanLiteralConvertible, Dictionary // MARK: ArrayLiteralConvertible - public init(arrayLiteral: CustomJSONConvertible...) { - self = .Array(arrayLiteral.map(Doubt.JSON.init)) + public init(arrayLiteral: Doubt.JSON...) { + self = .Array(arrayLiteral) }