0
如何通過json獲取html格式的文本,如下面的格式?json中的HTML格式文本
<div class="header" id="header_1">
<p>All glitters are not gold</p>
</div>
因爲JSON不支持「的對象裏面的值字符。
如何通過json獲取html格式的文本,如下面的格式?json中的HTML格式文本
<div class="header" id="header_1">
<p>All glitters are not gold</p>
</div>
因爲JSON不支持「的對象裏面的值字符。
可以逃脫引號JSON與\"
檢查this answer爲所有JSON轉義字符的列表。