就我而言,我盯着使用 ServiceStack ......
我创建了一个类
public class dtoClass
{
public string aText { get; set; }
public DbGeography dbGeo { get; set; }
public dtoClass d { get; set; }
}
在通过 rest 的 servicestack 的输出上 -->
我明白了
{"aText":"String","d":{"aText":"String","d":{"aText":"String","d":{"aText":"String"}}}}
您将看到它在引用 dtoClass d 的第 3 层结束
我的问题是,我如何指定这发生在 8 个级别内?而不仅仅是 3 ?