def search_json(query,types=nil,never_or=nil,extras=nil,start=nil,count=nil)
      method = 'search'
      type = TODO
      if not types
        types = 'Artist,Album,Track,Playlist,User'
      end
      args = {:query=>query}
      args[:types] = types if types
      args[:never_or] = never_or if never_or
      args[:extras] = extras if extras
      args[:start] = start if start
      args[:count] = count if count
      
      json = call method,args
      if Rdio::log_json
        Rdio::log json
      end
      return unwrap_json json
    end
def search_json(query,types=nil,never_or=nil,extras=nil,start=nil,count=nil)
      method = 'search'
      type = TODO
      if not types
        types = 'Artist,Album,Track,Playlist,User'
      end
      args = {:query=>query}
      args[:types] = types if types
      args[:never_or] = never_or if never_or
      args[:extras] = extras if extras
      args[:start] = start if start
      args[:count] = count if count
      
      json = call method,args
      if Rdio::log_json
        Rdio::log json
      end
      return unwrap_json json
    end
Search for artists, albums, tracks, users or all kinds of objects.