单元测试Json Serializer配置

时间:2016-10-30 20:00:24

标签: .net asp.net-core asp.net-core-mvc .net-core

有没有简单的方法来测试.NET Core ASP.NET网页中的序列化中间件。

E.g。我想确认给定x JSON,它将获得y Model对象,使用当前配置的app中间件。

我知道它使用JSON.Net,但我想确认我的应用程序的特定配置(理想情况下不会重复配置)。

0 个答案:

没有答案