json.extract! @table, :id, :title, :created_at, :updated_at

json.current_game_id @table.current_game.id
json.current_user current_user

json.seats @table.seats.order(:position) do |seat|
  json.id seat.id
  json.table_id seat.table_id
  json.position seat.position
  json.user_id seat.user_id
  json.user_soft_token seat.user_soft_token
  json.user_display_name seat.user_display_name
end
