
json.count @count
json.course_list @course_lists do |course_list|
  json.id course_list.id
  json.name course_list.name
end

json.question_banks @question_banks do |question_bank|
  json.id question_bank.id
  json.name question_bank.name
  json.is_public question_bank.is_public
  json.quotes_count question_bank.quotes
  json.creator_name question_bank.user.name
  json.course_list_name question_bank.course_list&.name
  json.updated_at question_bank.updated_at
  json.solve_count @solve_count_map.fetch(question_bank.id, 0)
  json.authorize question_bank.user_id == current_user.id || current_user.admin_or_business?
end
