我得到了以下错误,我不知道如何修复它:
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."
},
我做错了什么?
{
"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
删除末尾的逗号
移除,最后使用http://jsonviewer.stack.hu/来验证它的工作
我有以下json,但由于某种原因,我不断收到此行的错误: 我的JSON: 据我所知,这是一个有效的正则表达式。有人知道我做错了什么吗? 我正在使用https://jsonlint.com/来测试我的json。 测试正则表达式:https://regex101.com/r/l4tn4W/3/. 干杯
所以我写了一个JSON文件代码来帮助显示书名,但是当我编译时,我总是收到同样的错误,有办法修复吗?还是我做错了什么? 代码如下: 已显示的错误:
编辑:我把单引号改成双引号,短绒没有抱怨。 我把这个放到jsonlint.com,我得到了这个错误: 其他json棉绒也有类似的结果。最初,数值是空的,所以我用单引号将它们括起来,以消除< code>jq错误: 但我还是为JQ买的。 我没有看到任何未定义的键,我错过了什么? 我还在网上看到一篇参考文章,不允许对密钥使用裸数字,公平地说,任何具有非字符串密钥的JSON都不应该通过测试吗?
问题内容: 将布尔值与Python中的作品进行比较。但是,当我应用布尔运算符时,结果是语法错误: 为什么这是语法错误?我希望它是一个返回布尔值的表达式,并且只要是具有有效语法的表达式,它都是有效语法。 问题答案: 它与Python中的运算符优先级有关(解释器认为您正在比较True与Not,因为它的优先级高于)。您需要一些括号来阐明操作顺序: 通常,不能在没有括号的比较右侧使用。但是,我想不出您需要
我有一个模型 但我有个错误 有什么想法可以修复这个错误吗?
我最近将firebase数据库的订单更改为Location,我知道我漏了一些东西,但我找不到确切的问题。有人能指出我在这里做错了什么吗?