I use the newtsonsoft one, but I use a slightly modified version. It's in the references folder here:
https://github.com/nicwise/RestSharp Not sure how it got there - or what has to be changed - but it works :) On Thu, Nov 17, 2011 at 13:04, Tossing, Chris <[email protected]> wrote: > Has anyone been successful in serializing a custom object into JSON in > MonoTouch? I have tried to use various variations of Newtonsoft.Json, but I > keep getting JIT exceptions. I make a workaround for one place which > results in an attempt to JIT code, and then I just get another one in > different place. > > > > What I want to do is: > > · JsonConvert.SerializeObject(myClassInstance) > > > > Thank you, in advance, for any pointers on this. > > > > Chris Tossing > > Software Engineer > > Touchcom > > A G4S Technology Company > > Direct Dial: +1 (781) 457-0779 > > Cell: +1 (847) 942-0359 > > [email protected] > > www.touchcominc.com > > 21 North Avenue, Burlington, Massachusetts USA > > > > P Please consider the environment before printing this email > > > > The details of this company are as follows: > Touchcom Inc, Registered Office: 21 North Avenue, Burlington, MA 01803. > > This communication may contain information which is confidential, personal > and/or privileged. > > It is for the exclusive use of the intended recipient(s). > If you are not the intended recipient(s), please note that any distribution, > forwarding, copying or use of this communication or the information in it is > strictly prohibited. > > Any personal views expressed in this e-mail are those of the individual > sender and the company does not endorse or accept responsibility for them. > > Prior to taking any action based upon this e-mail message, you should seek > appropriate confirmation of its authenticity. > > This e-mail has been scanned for all viruses by MessageLabs. > > _______________________________________________ > MonoTouch mailing list > [email protected] > http://lists.ximian.com/mailman/listinfo/monotouch > > -- Nic Wise t. +44 7788 592 806 | @fastchicken | http://www.linkedin.com/in/nicwise b. http://www.fastchicken.co.nz/ Nearest Bus: find when the next bus is coming to your stop. http://goo.gl/Vcz1p mobileAgent (for FreeAgent): get your accounts in your pocket. http://goo.gl/IuBU Trip Wallet: Keep track of your budget on the go: http://goo.gl/ePhKa London Bike App: Find the nearest Boris Bike, and get riding! http://goo.gl/Icp2 _______________________________________________ MonoTouch mailing list [email protected] http://lists.ximian.com/mailman/listinfo/monotouch
