From f25f91b94d26ad82fd84928ca56fd977ea06bb6f Mon Sep 17 00:00:00 2001 From: walon Date: Tue, 23 Aug 2022 10:11:25 +0800 Subject: [PATCH] =?UTF-8?q?[fix]=20=E4=BF=AE=E5=A4=8Dcode=5Fcs=5Fdotnet=5F?= =?UTF-8?q?json=E7=94=9F=E6=88=90=E7=9A=84external=20type=E4=BB=A3?= =?UTF-8?q?=E7=A0=81=E6=9C=89=E7=BC=96=E8=AF=91=E9=94=99=E8=AF=AF=E7=9A=84?= =?UTF-8?q?bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Luban.Job.Cfg/Source/TypeVisitors/CsJsonDeserialize.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Luban.Job.Cfg/Source/TypeVisitors/CsJsonDeserialize.cs b/src/Luban.Job.Cfg/Source/TypeVisitors/CsJsonDeserialize.cs index 3b8cc23..5b308ab 100644 --- a/src/Luban.Job.Cfg/Source/TypeVisitors/CsJsonDeserialize.cs +++ b/src/Luban.Job.Cfg/Source/TypeVisitors/CsJsonDeserialize.cs @@ -81,7 +81,7 @@ namespace Luban.Job.Cfg.TypeVisitors public string Accept(TBean type, string json, string x, int depth) { - string src = $"{type.Bean.FullName}.Deserialize{type.Bean.Name}({json});"; + string src = $"{type.Bean.FullName}.Deserialize{type.Bean.Name}({json})"; return $"{x} = {ExternalTypeUtil.CsCloneToExternal(type.Bean.FullName, src)};"; }