# frozen_string_literal: true json.extract! player, :id, :name, :paid, :strikes, :created_at, :updated_at json.url player_url(player, format: :json)