json v9.10.0 通过 JSON.stringify() 把值转换为字符串,多用于调试用途。 输入 {% assign arr = "foo bar coo" | split: " " %} {{ arr | json }} 输出 ["foo","bar","coo"]