json - 将 html 添加到密钥时 JSON 无效
问题描述
我需要将 HTML 添加到 JSON:
{
"refined_summary_t": "<ol><li> The FDA revised its guidance document which was originally released in June,
to give device sponsors additional time in responding to FDA’ s requests
for additional information
for device applications that are on hold. < /lo> <
li > At the onset of the pandemic,
FDA realized that device makers were faced with unprecedented challenges related to supply chain issues,
human resources,
etc.,
while on the other hand,
the FDA saw a surge in EUA activities which required shifting of staff resources at the FDA.During this time,
the FDA released a guidance document to extend the timeline
for responding to the FDA’ s requests
for submissions / applications that were put on hold.The originally released guidance document provided a sigh of relief to device sponsors by allowing an additional 90 day period beyond the response date initially assigned. < /li> <
li > Under the revision of the same guidance document,
the FDA provides an additional 180 days
for submission of responses to the FDA’ s requests before they are withdrawn.For premarket approval(PMA) applications and humanitarian device exemption(HDE) applications,
FDA typically allows 360 days
for applicants to submit a complete response to a major deficiency letter and 180 days
for responses to additional information letters
for 510(k) s and de novo requests. < /li> <
li > This policy applies to the submission types listed below,
which are placed on hold pending additional information or complete response to a major deficiency
for PMA or HDE.These submission types do not require the submission of an extension request by the sponsor:
<
ol >
<
li > Pre - market application < /li> <
li > Humanitarian Device Exemption < /li> <
li > De Novo applications < /li> <
li > 510(k) < /li> < /
ol > <
/li>
<
li > FDA also mentioned in the guidance document that due to the pandemic and emergency authorization services taking a priority in its operations,
it is not able to keep up with the current level of performance associated with the timelines and plans on communicating any delays directly with the sponsor. < /li>
<
/ol>"
}
但它给出了这个错误
Error: Parse error on line 2:
...refined_summary_t": "<ol><li> The FDA re
-----------------------^
Expecting 'STRING', 'NUMBER', 'NULL', 'TRUE', 'FALSE', '{', '[', got 'undefined'
我尝试了一个像这样的简单 html,它工作正常:
"refined_summary_t": "<ol><li> first list</li><li> Second</li></ol>"
这个工作正常,但另一个没有。它们看起来一样。它哪里出错了?
解决方案
推荐阅读
- javascript - 这段代码是如何工作的,我没有清楚地理解?
- php - 如何检查给定键值对的多维数组,即。完全相同的键和值?
- java - 在 Android Studio 3.5.1 中这是什么类型的问题?
- php - 文件上传在 AWS Linux 2 服务器中不能超过 10mb?
- c# - 使用 JsonSerializer.DeserializeAsync 反序列化 JSON 不使用我的 JsonConverter
- android - 无法在android中进行无线调试(ADB)
- python - tflite.allocate_tensors() 在更改输入大小后失败
- swift - Braintree,跳过显示 Dropin 并直接选择 PayPal
- javascript - 第一个兄弟 div 被视为第二个动态 div 的背景
- typescript - 不兼容的相同类型