WebApi 设置字段序列化别名

提问

如何WebApi 设置字段序列化别名

回答

 [JsonProperty(PropertyName = "access_token"), JsonPropertyName("access_token")]
posted @ 2023-04-13 17:04  喜爱糖葫芦  阅读(27)  评论(0编辑  收藏  举报