当前位置: 首页 > 知识库问答 >
问题:

JSON错误我无法修复??(应为“STRING”、“NUMBER”、“NULL”、“TRUE”、“FALSE”、“{”和“[”,得到的是“undefined”)

章青青
2023-03-14

我得到了以下错误,我不知道如何修复它:

Blockquote错误:第1660行出现解析错误:...,"描述:" "心理咨询师- ^期望'字符串','数字','空','真','假',' { ','[',得到了'未定义'

这是抛出此错误的文件部分:

{
        "ItemNum": "289",
        "ItemStartDate": "01.07.2008",
        "Category": "1",
        "Group": "A8",
        "ItemType": "S",
        "FeeType": "N",
        "NewItem": "N",
        "ItemChange": "N",
        "AnaesChange": "N",
        "DescriptorChange": "N",
        "FeeChange": "N",
        "EMSNChange": "N",
        "EMSNCap": "P",
        "BenefitType": "C",
        "BenefitStartDate": "01.07.2008",
        "FeeStartDate": "01.11.2012",
        "ScheduleFee": "263.90",
        "Benefit75": "197.95",
        "Benefit85": "224.35",
        "EMSNStartDate": "01.11.2012",
        "EMSNMaximumCap": "500.00",
        "EMSNPercentageCap": "300.00",
        "DescriptionStartDate": "01.11.2011",
        "Description": "consultant psychiatrist, referred consultation for assessment, diagnosis and development of a treatment and management plan for autism or any other pervasive developmental disorder - surgery or hospital professional attendance of at least 45 minutes duration, at consulting rooms or hospital, by a consultant physician in his or her specialty of psychiatry, for assessment, diagnosis and the preparation of a treatment and management plan for a child aged under 13 years, with autism or any other pervasive developmental disorder, who has been referred to the consultant psychiatrist by a referring practitioner, if the consultant psychiatrist does the following:(a) undertakes a comprehensive assessment of the child and forms a diagnosis (using the assistance of one or more  allied health providers where appropriate)(b) develops a treatment and management plan which must include the following: (i) the outcomes of the assessment; (ii) the diagnosis or diagnoses; (iii) opinion on risk assessment; (iv) treatment options and decisions; (v) appropriate medication recommendations, where necessary.(c) provides a copy of the treatment and management plan to the: (i) referring practitioner; and (ii) relevant allied health providers (where appropriate).not being an attendance on a child in respect of whom payment has previously been made under this item or items 135, 137 or 139."
    },

我做错了什么?

共有2个答案

晁开宇
2023-03-14
{
    "ItemNum": "289",
    "ItemStartDate": "01.07.2008",
    "Category": "1",
    "Group": "A8",
    "ItemType": "S",
    "FeeType": "N",
    "NewItem": "N",
    "ItemChange": "N",
    "AnaesChange": "N",
    "DescriptorChange": "N",
    "FeeChange": "N",
    "EMSNChange": "N",
    "EMSNCap": "P",
    "BenefitType": "C",
    "BenefitStartDate": "01.07.2008",
    "FeeStartDate": "01.11.2012",
    "ScheduleFee": "263.90",
    "Benefit75": "197.95",
    "Benefit85": "224.35",
    "EMSNStartDate": "01.11.2012",
    "EMSNMaximumCap": "500.00",
    "EMSNPercentageCap": "300.00",
    "DescriptionStartDate": "01.11.2011",
    "Description": "consultant psychiatrist, referred consultation for assessment, diagnosis and development of a treatment and management plan for autism or any other pervasive developmental disorder - surgery or hospital professional attendance of at least 45 minutes duration, at consulting rooms or hospital, by a consultant physician in his or her specialty of psychiatry, for assessment, diagnosis and the preparation of a treatment and management plan for a child aged under 13 years, with autism or any other pervasive developmental disorder, who has been referred to the consultant psychiatrist by a referring practitioner, if the consultant psychiatrist does the following:(a) undertakes a comprehensive assessment of the child and forms a diagnosis (using the assistance of one or more  allied health providers where appropriate)(b) develops a treatment and management plan which must include the following: (i) the outcomes of the assessment; (ii) the diagnosis or diagnoses; (iii) opinion on risk assessment; (iv) treatment options and decisions; (v) appropriate medication recommendations, where necessary.(c) provides a copy of the treatment and management plan to the: (i) referring practitioner; and (ii) relevant allied health providers (where appropriate).not being an attendance on a child in respect of whom payment has previously been made under this item or items 135, 137 or 139."
}

结果:

将编译为有效JSON

删除末尾的逗号

方通
2023-03-14

移除,最后使用http://jsonviewer.stack.hu/来验证它的工作

 类似资料: