I want save object complex for offline use and sync when the network is back online. What is the best solution for that ? I need simplicity, performance and must be ios and android ready.
For simplicity I would serialize the objects to JSON. For performance I would recommend ServiceStack over NewtonSoft.
If you want an easy mechanism then take a look at XLabs.Caching.SQLite. You can use the ServiceStack (or NewtonSoft) serializer with it for easy key-value pair storage. There is also Akavache but unfortunately it has hardcoded NewtonSoft dependency and serialization/deserialization performance will suffer (although it might still be acceptable to you, not sure how fanatical you are about performance).
@SKall - any good links about service stack being faster than NewtonSoft? NewtonSoft has alway been our default option so it would be interesting to see if there is anything faster.
The speed is well documented on .NET platforms but hardly any comparisons on mobile other than the tests I have done.
Xamarin Inc., as a wholly-owned Microsoft subsidiary acting as a separate legal entity, adheres to the Microsoft Privacy Statement: Privacy & cookies