2017-07-28 70 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

相關問題