     }
     
 }
-
-//
-//  # Request: JSON Extension
-//
-
-public extension Service.Request
-{
-    
-    // MARK: - Types -
-    
-    fileprivate enum JSONKey: String
-    {
-        /// Query.
-        case query
-        /// Fields.
-        case fields
-        /// Language.
-        case language = "lang"
-    }
-    
-    // MARK: - Deserialization -
-    
-    /// Initializes the `Request` instance with a given JSON object.
-    ///
-    /// - Parameters:
-    ///   - json: The JSON object.
-    ///
-    /// - Returns: The new `Result` instance.
-    init?(json: Service.JSON)
-    {
-        if let query = json[Service.Request.JSONKey.query.rawValue] as? String {
-            self.query      = query
-            self.language   = json[Service.Request.JSONKey.language.rawValue] as? String
-            
-            if let string = json[Service.Request.JSONKey.fields.rawValue] as? String {
-                let fields = string.components(separatedBy: ",")
-                self.fields = fields.flatMap { Service.Result.Field(rawValue: $0) }
-            }
-        } else {
-            return nil
-        }
-    }
-    
-    // MARK: - Serialization -
-    
-    /// Serializes the object to the IPAPI format.
-    func toJSON() -> Service.JSON
-    {
-        var ret: Service.JSON = [:]
-        
-        ret[Service.Request.JSONKey.query.rawValue]     = self.query as AnyObject?
-        ret[Service.Request.JSONKey.fields.rawValue]    = self.fields?.map { $0.rawValue }.joined(separator: ",") as AnyObject?
-        ret[Service.Request.JSONKey.language.rawValue]  = self.language as AnyObject?
-        
-        return ret
-    }
-    
-}

        public var fields: [Result.Field]? = nil
        /// Localized `city`, `regionName` and `countryName` can be requested by using this property in the `ISO 639` format. This parameter is optional.
        public var language: String? = nil
        
        // MARK: - Initialization -
        

            self.language = language
        }
    }
    
    // MARK: - Constants -
    
