 			if typeInfo.isArray {
 				return try self.getArray(ofValues: value as! [AnyObject], forKey: key)
 			} else {
+				#if os(Linux)
+				return try self.encodeObject(ofObject: value as! AnyObject, forKey: key)
+				#else
 				return try self.encodeObject(ofObject: value as AnyObject, forKey: key)
+				#endif
 			}
 		}
 	}

//
// Created by Anderson Lucas C. Ramos on 17/04/17.
//

#if os(iOS) || os(OSX)

import Foundation


			} else {
				var array = Array<IvarObject>()
				for val in values {
					#if os(Linux)
					array.append(try self.encodeObject(ofObject: val as! AnyObject))
					#else
					array.append(try self.encodeObject(ofObject: val as AnyObject))
					#endif
				}
				return try IvarArray(name: key, value: array)
			}
