Пример:
Код: Выделить всё
using Newtonsoft.Json;
public class Example
{
[JsonProperty("test2")]
public string Test { get; set; }
}
- Newtonsoft.Json JsonProperty
- Использование Newtonsoft.Json атрибуты
Подробнее здесь: https://stackoverflow.com/questions/584 ... system-tex
Мобильная версия