Object Mapping library from JSON to NSObjects

前端 未结 5 1926
别那么骄傲
别那么骄傲 2021-02-04 08:39

I am trying to build a parser/objectMapper that will build Objective C objects for the JSON I consume from a REST service.

I took some inspiration from RestKit by having

5条回答
  •  梦谈多话
    2021-02-04 09:05

    Try out CSMapper, it is amazing! You just create plists named the same as the class, map some properties, then you can map a dictionary to your objects with ease with a single line of code. I have tested it on many projects and found it to be very clean, performant. It gave me flexibility to respond to API changes during the development lifecycle with ease.

    https://github.com/marcammann/CSMapper

    I am currently updating the documentation and adding on to the project on a personal fork which should hopefully be merged soon :)

    https://github.com/AntonTheDev/CSMapper

提交回复
热议问题