예제 #1
0
        public async Task GetVacancies()
        {
            var vacancies = await Vacancy.GetVacanciesAsync(Helper.Client, Helper.Kind).ConfigureAwait(false);

            foreach (var value in vacancies)
            {
                if (value.Undeserialized != null)
                {
                    throw new JsonException("Undeserialized is not empty");
                }
            }

            var json = JsonSerializer.Serialize(vacancies, Core.Options);
        }