你的位置: 码友网首页 / 资讯源列表 / Removing ALL assembly names in Json.NET TypeNameHandling output

关于[Removing ALL assembly names in Json.NET TypeNameHandling output]的摘要:

In some cases, it may be desirable to include type name information in Json.NET output but for those type names to not include assembly names. In my case it's because I have a Shared Project that contains classes that I want to appear in my .NET Core C# server code and in my Bridge.NET client code and this results in the class names existing in assemblies with different names (but there are also other people with their own cases, such as How do I omit the assembly name from the type name while serializing and deserializing in JSON.Net?.

原文地址: https://www.productiverage.com/removing-all-assembly-names-in-jsonnet-typenamehandling-output

收录时间: 2020-08-06 浏览量: 1484 分类: .NET

| 0 收藏 | 0