【优化】导出的json格式对于 '\','<' 之类的字段不escape
parent
7bc489e15e
commit
df932046e4
|
|
@ -53,7 +53,7 @@ namespace Luban.Job.Cfg.Utils
|
|||
{
|
||||
Indented = !table.Assembly.OutputCompactJson,
|
||||
SkipValidation = false,
|
||||
Encoder = System.Text.Encodings.Web.JavaScriptEncoder.Create(System.Text.Unicode.UnicodeRanges.All),
|
||||
Encoder = System.Text.Encodings.Web.JavaScriptEncoder.UnsafeRelaxedJsonEscaping,
|
||||
});
|
||||
if (dataType == "data_json")
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue