json.status 0
json.message "success"
json.data do
  json.array! @competition_infos do |competition_info|
    json.extract! competition_info, :id, :identifier, :title, :watchers_count, :visits
    json.enroll_count competition_info.competition_users.count
  end
end