Most libraries aren't directly compatible with MonoTouch because of AOT. See
the Newtonsoft.Json port for MonoTouch here.
https://github.com/chrisntr/Newtonsoft.Json
On Friday, September 16, 2011 at 10:22, shawnlehner [via MonoTouch] wrote:
> I am trying to implement some JSON serialization for service communication
> in my app. It seems that every solution I try ends up with a "mtouch failed
> with no output (1)" when building for the device.
>
> I have tried the following libraries:
> - fastJSON
> - Newtonsoft.Json
> - System.Json (Works but has very cumbersome requirements for
> deserialization)
>
> I am looking for the best option to accomplish this. The ideal solution would
> be something like Deserialize<MyObject>(json); and Serialize(obj); etc ...
>
> Any info on this would be great!
>
> Shawn
>
> If you reply to this email, your message will be added to the discussion
> below:
> http://monotouch.2284126.n4.nabble.com/JSON-Serialization-tp3818642p3818642.html
>
> To start a new topic under MonoTouch, email
> [email protected]
> (mailto:[email protected])
> To unsubscribe from MonoTouch, click here
> (http://monotouch.2284126.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=3346893&code=YW5kcmV3ZHlvdW5nQGdtYWlsLmNvbXwzMzQ2ODkzfDE5MjczODc4ODI=).
>
--
View this message in context:
http://monotouch.2284126.n4.nabble.com/JSON-Serialization-tp3818642p3818776.html
Sent from the MonoTouch mailing list archive at Nabble.com.
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch