From cd6e4a77cbe4a518166a6115bcad5d08b11ac1ec Mon Sep 17 00:00:00 2001 From: Tristan Himmelman Date: Thu, 17 Dec 2015 14:32:31 -0400 Subject: [PATCH] Added a new toJSON cast case --- ObjectMapper/Core/ToJSON.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ObjectMapper/Core/ToJSON.swift b/ObjectMapper/Core/ToJSON.swift index 2efb7e1b..11727a1e 100644 --- a/ObjectMapper/Core/ToJSON.swift +++ b/ObjectMapper/Core/ToJSON.swift @@ -96,6 +96,8 @@ internal final class ToJSON { _setValue(x) } else if let x = field as? Array { _setValue(x) + } else if let x = field as? Array> { + _setValue(x) } else if let x = field as? Dictionary { // Dictionaries _setValue(x) } else if let x = field as? Dictionary {