How to serialize using System.Json in MonoTouch

后端 未结 1 1027
说谎
说谎 2021-01-22 13:17

My other question seems to be too generic, so I tought I\'d create a new one on the details. Sorry if that is considered bad practice.

I am trying to serialize C# object

相关标签:
1条回答
  • 2021-01-22 13:53

    System.Json doesn't support arbitrary serialization like this.

    You can use a third party Json library like Newtonsoft, or wait for MonoTouch v4 which will have the DataContractJsonSerializer

    0 讨论(0)
提交回复
热议问题