我正在尝试为jtoken设置一个值,我正在从下面的json
中搜索{
"Customer":
{
"Id": "100",
"Country": "BE",
"CustomerName": "Domo",
"CustomerStatus": "Gold",
"CreationDate": {
"Time":""
}
}
}
我正在设法使用以下jPath检索令牌的时间:
Customer.CreationDate.Time
但在尝试设置属性时获取空值:
var property = timeJToken as JProperty;
property.Value = value;