Error with NSJSONSerialization - Invalid type in JSON write (Menu)

后端 未结 4 1187
南方客
南方客 2020-12-03 00:22

I have an App using core data with 3 entities with very similar attributes. The relationship is such as:

Branch ->> Menu ->> Category ->> FoodItem

Each ent

4条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-03 01:22

    I had the key switched with the value : @{value :@"key"} It should be @{@"key":value}

提交回复
热议问题