我已经在拳头截图first screenshot上的代码,只需要显示这四个属性.但是当我开始使用这段代码时,我得到了4个属性+2个不必要的属性.第二个屏幕截图(结果):second screenshot
我试过这个,但没用
我已经在拳头截图first screenshot上的代码,只需要显示这四个属性.但是当我开始使用这段代码时,我得到了4个属性+2个不必要的属性.第二个屏幕截图(结果):second screenshot
我试过这个,但没用
使用匿名类型而不是ProblemDetail
var json= JsonConvert.SerializeObject ( new
{
Status=....
});