I am a beginner in Monotouch.
I would like to deserialize Json data using DataContractJsonSerializer. But I cannot reference System.Runtime.Serialization.Json(Only .Formatters under System.Runtime.Serialization) in MonoDevelop. I have referenced System.Runtime.Serialization. My config and installation sequences are:
1. iPhone SDK 4.2
2. Mono 2.8.2 (not CSDK version)
3. Monotouch 3.2.4 Eval
4. MonoDevelop 2.4
What is the problem?
MonoTouch does not ship with a DataContractJSonSerializer as simple as this serializer looks, it brings in a large set of libraries.
You can use either the System.Json API or you can try NewtonSoft's JSon library.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With