我试图序列化flows.My中用于发送和接收的类( DTO ),DTO类与流不在同一个模块中。我得到了以下错误java.io.NotSerializableException: Class "class com.e_mobility.dto.dashboard.DashboardDTO" is not on the whitelist or annotated with @CordaSerializable
<em
此外,AFAIK,ServiceStack.Text没有提供为开放泛型类型(例如:类似JsConfig.Add(typeof(Foo<>), config))配置JSON序列化的方法。显然,ServiceStack.Text会缓存序列化函数,有时会在调用静态构造函数之前执行,具体取决于调用顺序,因此:
var outer = new Foo<Baz> { Text = "text"OK, because SS.Text uses the default seri