json.count @count json.users do json.array! @users.each do |user| json.id user.id json.name user.real_name json.identity user.identity json.school_name user.school_name json.department_name user.department_name json.phone Util.conceal(user.phone, :phone) json.manager @manager_ids.include?(user.id) end end