Newtonsoft.Json deserialize object in Xamarin iOS project

后端 未结 6 1263
感动是毒
感动是毒 2020-11-30 15:03

I\'m getting some very weird behaviour in my Xamarin.Forms Project.

I\'m retrieving some serialized data from a REST API. I\'m then trying to use Json.NET to deseri

6条回答
  •  青春惊慌失措
    2020-11-30 15:24

    Possible Causes

    1. The deserialized object does not have default constructor .. new Foo()
    2. The constructor contains complex objects such as ICommand, DelegateCommand.
    3. Some properties of the deserialized object is complex objects and consume computing power during serializing, deserializing.
    4. Is not selecting Link Frameword SDKs only

提交回复
热议问题