JSON使用JsonProperty Attribute

一、JSON使用JsonPropertyAttribute重命名属性名 1.先创建一个Movie对象,然后在其属性上添加JsonProperty,并指定重命名的名称。注意:属性Name和Director已指定。 [csharp]  view plain  copy using System;   using System.Collections.Generic;   using System.Li
相关文章
相关标签/搜索