When you deserialize JSON from a REST API do the names from JSON have to match classes you create?

前端 未结 0 1040
攒了一身酷
攒了一身酷 2021-01-21 22:01

Say I have a REST API call that returns responses like:

{
  "type1": {
    "id": 123
  }
}

{
  "type2&quo         


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