首页 > 解决方案 > 格式化 JSON 以允许多个元素?

问题描述

我正在尝试传递下面的 JSON,但端点拒绝它,它不喜欢“多个元素”。我究竟做错了什么 ?我假设我在这里是个白痴(JSON 和 API 的新手)。

{"affiliationKey": "CLNT","relationshipKey": "Customer"},{"affiliationKey": "CLAS","relationshipKey": "Customer"},{"affiliationKey": "CTOB","relationshipKey": "Customer"},{"affiliationKey": "CTPT","relationshipKey": "Customer"},{"affiliationKey": "CTAS","relationshipKey": "Customer"},{"affiliationKey": "NONE","relationshipKey": "Customer"},{"affiliationKey": "OTHR","relationshipKey": "Customer"}

标签: json

解决方案


推荐阅读