Im reading this book but I JavaScriptSerializer from the System.Web.Script.Serialization namespace because it seems to be unavailable?
相关问题
- Json.NET deserializing contents of a JObject?
- Serializing a serialized Thrift struct to Kafka in
- GeoDjango: Distance Object is not serializable
- How do I send or save a function and recv or resto
- How to serialise Enums as both Object Shape and de
相关文章
- serializing a list of objects into a file in java
- Convert C# Object to Json Object
- When sending XML to JMS should I use TextMessage o
- Custom serialization for fields in Rails
- Do I need to expose a constructor in a WCF DataCon
- How to use native C++ libraries in Mono for Androi
- How to serialize Xml Date only from DateTime in C#
- Unwanted namespaces on SVG markup when using XMLSe
I know this a really old post but by chance someone stumbles upon this like I have, System.Web.Script.Serialization is available in System.Web.Extensions.
Download source here and add as existing project. Then add as reference:
http://www.bloxify.com/post/MonoTouch-Easy-JSON-Library.aspx
Edit:
You may also find that the monotouch linker is pretty aggressive. I would have code work fine in the simulator but crash in the device with method missing exceptions. Add a method somewhere in your app (you dont have to call it) like so: