2017-07-28 83 views

回答

1

你可以使用JSON验证器来确保你有有效的json,然后用“raw”选项将它放入正文中。选择“body”,“raw”,然后代替纯文本,从下拉菜单中选择JSON。

我花了一些调戏你提供的代码,但我相信正确的JSON格式将是这个样子

{ 
    "Consumer": { 
     "ConsumerId": { 
      "PersonUnderCare": [{ 
       "Age": 9, 
       "Gender": "gender", 
       "RelationId": "id", 
       "RelationOther": "string", 
       "ProductInUseId": 9, 
       "ProductInUseOther": "string", 
       "Condition": "string", 
       "ConditionOther": "string" 
      }] 
     } 
    } 
} 

我用 JSONLint验证JSON

相关问题