json - 格式化 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"}
解决方案
推荐阅读
- google-cloud-firestore - 如果“没有任何规则的 1 个月”已过期,我是否必须开始一个新项目?
- android - 从 viewpager 2 停止并释放 exoplayer
- javascript - 如何在一个页面中多次重用一段Javascript
- r - Plotly:如何制作灰度饼图?
- python - Django readonly_fields 不显示数据
- python - pyspark 查询和 sql pyspark 查询
- machine-learning - 在机器学习中使用 CNN 将图像特征和数字特征结合在一起的最佳方法是什么?
- javascript - 将 promise 与 while 循环一起使用会导致 ui 冻结
- java - 控制器中的 Spring Boot 自定义查询
- html - 我的网格不会将元素放在中间