json.extract! hra, :id, :nazev, :kod, :created_at, :updated_at
json.url hra_url(hra, format: :json)
