首页 > 解决方案 > 将 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>"

这个工作正常,但另一个没有。它们看起来一样。它哪里出错了?

标签: json

解决方案


推荐阅读