Alamofire GET request parameters
<p>When send GET request with parameters, url encoded in a different way</p>

<pre><code>http://someurl/search-ads?attributes[elevator]=1&amp;attributes[ranges][square][]=20.0&amp;attributes[ranges][square][]=170.0&amp;cities[]=somecity&amp;currency=kgs&amp;has_images=0&amp;not_first_floor=1&amp;not_last_floor=1&amp;order_type=sale&amp;rating__gte=5&amp;rating__lte=10000&amp;specialty=2
</code></pre>

<p>but it should be </p>

<pre><code>http://someurl/search-ads?specialty=7&amp;order_type=sale&amp;attributes={"ranges":"{\"square\":[2450,8190]}"}&amp;cities=somecity&amp;page=1 
</code></pre>

<p>Is there any settings to change, to force Alamofire to encode in second way?</p>

<p>I am using Alamofire 3</p>

<p>Here is my method</p>

<pre><code>func makeSearch(search: GeneralSearch) {
        let request = Alamofire.request(.GET, SearchURL, parameters: Mapper().toJSON(search), encoding: .URL).validate().responseJSON {
            response in
            switch response.result {
            case .Success:
                if let responseValue = response.result.value {
                    print(responseValue)
                }
                break
            case .Failure(let error):
                print("Error: " + error.localizedDescription)
                break
            }
        }
    }
</code></pre>