json 文件在网页上的“< >”内不显示字符串(例如 "abc <endpoint>")

json file does not show string inside "< >", on the webpage (eg. "abc <endpoint>")

< , > 不被视为转义字符。但是当我需要在字符串中编写脚本时 (例如)“......” json code screenshot the corresponding string is not displayed properly on the jaggery webpage, it is displayed as follows viewed on the webpage. where as it should be displayed as follows how it should show on the jaggery webpage

如果您将文本作为 innerHTML 插入,则标签将被解释为 html 标签并且不会显示。 您可能会找到答案 here

& = & , < = < , > = > , " = " , ' = '