             }
         }
     }
-    //pull the raw values out of a dictionary.
+    ///pull the raw values out of a dictionary.
     public func getDictionary<T>(inout collect: Dictionary<String,T>?) {
         if let dictionary = value as? Dictionary<String,JSONDecoder> {
             if collect == nil {

            return JSONDecoder(createError("key: \(key) does not exist or this is not a Dictionary type"))
        }
    }
    func createError(text: String) -> NSError {
        return NSError(domain: "JSONJoy", code: 1002, userInfo: [NSLocalizedDescriptionKey: text]);
    }
    
    ///print the decoder in a pretty format. Helpful for debugging.
    public func print() -> String {
        if let arr = self.array {
            var str = "["
            for decoder in arr {
                str += decoder.print() + ","
            }
            str.removeAtIndex(str.endIndex)
            return str + "]"
        } else if let dict = self.dictionary {
            var str = "{"

    }
}

///Implement this protocol on all objects you want to use JSONJoy with
public protocol JSONJoy {
    init(_ decoder: JSONDecoder)
}
