 		var jsonArray = [AnyObject]()
 		
 		for obj in objects {
-			let jObj = self.commons.write(fromObject: obj as! NSObject)
+			let jObj = self.commons.write(fromObject: obj as! NSObject, withConfig: config)
 			jsonArray.append(jObj as AnyObject)
 		}
 		

		}
		
		self.commons.objectValueBlock = { [weak self] (instance, typeInfo, value, key) -> Void in
			let jsonObject = self?.commons.write(fromObject: value!)
			instance.setValue(jsonObject, forKey: key)
		}
		

		commons.arrayValueBlock = nil
	}
	
	fileprivate func jsonArray(fromObjects objects: [AnyObject], withTypeInfo typeInfo: TypeInfo, withConfig config: JsonConfig? = nil) -> AnyObject {
		if self.commons.isPrimitiveType(typeInfo.typeName) {
			return objects as AnyObject
		}
