How to handle a JSON response with Alamofire in which we do not know if a row is null or empty and store them appropriately

前端 未结 0 1544
南方客
南方客 2021-02-07 04:18

In my API response I get up to 20 ingredients for a recipe, in some recipes 10 of those ingredients have values, in others 14 and so on... Some values are just empty (e.g. "

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