📌  相关文章
📜  JSON 不会编译.给出:“期望 'STRING'、'NUMBER'、'NULL'、'TRUE' - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:03:34.197000             🧑  作者: Mango

代码示例1
You're using “ instead of " for many of your strings. Those may not look like different double-quote characters, but they are. Only the latter is valid in JSON.

This usually happens to me when pasting quotation marks from another program, especially office software that likes to make its quotes look as fancy as possible.

The corrected JSON would be:

{
    "uuid": "13371337-d579-4d75-a5c5-8dfcfe110f62",
    "shortName": "Simple",
    "longName": "Simple",
    "companyName": "pjtnt11",
    "versionCode": 1,
    "versionLabel": "1.7",
    "watchapp": {
        "watchface": true
    },
    "appKeys": {
        "dummy": 0
    },
    "resources": {
        "media": [

        ]
    }
}