我正在使用下面的行将 json 字符串转换为如下所示的对象。可以看出,该对象有一个 created at 字段,但由于它获得了多个对象,我想获得第一个的 created_at dynObj
,然后是最后一个的 created_at,dynObj
所以我有一个日期范围什么是最好的方法这样做,我想获得日期范围。这将创建 200 个对象。
dynamic dynObj = JsonConvert.DeserializeObject(timelineData)
动态对象
{
"created_at": "Fri Sep 27 02:00:08 +0000 2013",
"id": ,
"id_str": "",
"text": "",
"source": "<a href=\"http://adobe.com\" rel=\"nofollow\">Adobe® Social</a>",
"truncated": false,
"in_reply_to_status_id": null,
"in_reply_to_status_id_str": null,
"in_reply_to_user_id": null,
"in_reply_to_user_id_str": null,
"in_reply_to_screen_name": null,
"user": {
},
"geo": null,
"coordinates": null,
"place": null,
"contributors": null,
"retweet_count": 28,
"favorite_count": 13,
"entities": {
"hashtags": [],
"symbols": [],
"urls": [],
"user_mentions": [],
"media": [
{
}
]
},
"favorited": false,
"retweeted": false,
"possibly_sensitive": false,
"lang": "en"
},