JSON“传入了无效的对象,需要成员名称" [英] JSON "Invalid object passed in, member name expected"
问题描述
我们的一位客户对我们使用的Web面板软件有任何问题,该软件可解析各种.json文件.我们和客户已联系开发人员,让他们调查此问题,但他们表示一切都很好.但是,他们的软件正在打印错误传入了无效的对象,需要成员名称".
One of our customers is having any issue with the web panel software we use, which parses various .json files. We and the customer have contacted the developers to have them look into this issue, but they stated everything was fine. However, their software is printing the error "Invalid object passed in, member name expected".
经过一番搜索之后,我证实了自己的怀疑,即这确实是json文件中的格式问题.我已将其粘贴到各种在线格式程序中,并且所有人都认为它是有效的,所以现在我很茫然.
After searching this a bit, I confirmed my suspicion that this is indeed a formatting problem in the json file. I have pasted it into various formatters online, and all of them recognized it as being valid, so I am at a loss now.
有什么不错的方法来查找.json文件中的语法问题,因为这是一个很长的配置.
Is there any decent way to hunt down syntax issues in .json files, as this is quite a long configuration.
推荐答案
问题似乎出在这部分:
第1024行:
"": {
"Members": [
]
这篇关于JSON“传入了无效的对象,需要成员名称"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!