How to manually deserialize JSON and validate model like Web API does it automatically?

前端 未结 0 1217
無奈伤痛
無奈伤痛 2021-01-25 04:05

When posting JSON to Web API, not only does it get deserialized automatically, one can also use model validation like

// ItemPostRequest
class ItemPostRequest {
          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题