module Roda::RodaPlugins::IndifferentParams::InstanceMethods

def indifferent_params(params)

other values alone.
hashes to support indifferent access, leaving
Recursively process the request params and convert
def indifferent_params(params)
  case params 
  when Hash
    hash = Hash.new(&INDIFFERENT_PROC)
    params.each{|k, v| hash[k] = indifferent_params(v)}
    hash
  when Array
    params.map{|x| indifferent_params(x)}
  else
    params
  end
end