    # File lib/merb-core/dispatch/request_parsers.rb, line 165
        def self.params_to_query_string(value, prefix = nil)
          case value
          when Array
            value.map { |v|
              params_to_query_string(v, "#{prefix}[]")
            } * "&"
          when Hash, Dictionary
            value.map { |k, v|
              params_to_query_string(v, prefix ? "#{prefix}[#{escape(k)}]" : escape(k))
            } * "&"
          else
            "#{prefix}=#{escape(value)}"
          end
        end