 
 struct LumaJSON {
     
+    static var logErrors = true
+    
     static func jsonFromObject(object: [String: AnyObject]) -> String? {
         var err: NSError?
         if let jsonData = NSJSONSerialization.dataWithJSONObject( (object as NSDictionary) , options: nil, error: &err) {

                return LumaJSONObject(parsedDictionary)
            }
            
            return LumaJSONObject(parsed)
        }
        return nil

            }
        }
        else if(err != nil) {
            if LumaJSON.logErrors {
                println( err?.localizedDescription )
            }
        }
        return nil
    }
