如何从c#中的HTTP WebRespone获取数据

时间:2018-04-19 04:18:27

标签: c# json json.net json-deserialization

您好我有一个HttpWebResponse,它以下列格式收到JSON:

{
    "result": [
        {
            "parent": "",
            "made_sla": "true",
            "caused_by": "",
            "watch_list": "",
            "upon_reject": "cancel",
            "sys_updated_on": "2018-04-18 06:30:19",
            "child_incidents": "0",
            "hold_reason": "",
            "approval_history": "",
            "number": "INC0010022",
            "resolved_by": "",
            "sys_updated_by": "admin",
            "opened_by": {
                "link": "https://myinstance.service-now.com/api/now/table/sys_user/6816f79cc0a8016401c5a33be04be441",
                "value": "6816f79cc0a8016401c5a33be04be441"
            },
            "user_input": "",
            "sys_created_on": "2018-04-18 06:30:19",
            "sys_domain": {
                "link": "https://myinstance.service-now.com/api/now/table/sys_user_group/global",
                "value": "global"
            },
            "state": "1",
            "sys_created_by": "admin",
            "knowledge": "false",
            "order": "",
            "calendar_stc": "",
            "closed_at": "",
            "cmdb_ci": "",
            "delivery_plan": "",
            "impact": "2",
            "active": "true",
            "work_notes_list": "",
            "business_service": "",
            "priority": "4",
            "sys_domain_path": "/",
            "rfc": "",
            "time_worked": "",
            "expected_start": "",
            "opened_at": "2018-04-18 06:30:19",
            "business_duration": "",
            "group_list": "",
            "work_end": "",
            "caller_id": {
                "link": "https://myinstance.service-now.com/api/now/table/sys_user/webservice",
                "value": "webservice"
            },
            "reopened_time": "",
            "resolved_at": "",
            "approval_set": "",
            "subcategory": "",
            "work_notes": "",
            "short_descripti

现在我需要获取值形式状态参数。但我没有得到如何获取它。

0 个答案:

没有答案