JsonConvert.SerializeObject always return {} in XamarinForms

This is a known problem see https://developer.xamarin.com/guides/cross-platform/live/limitations/

Limited support for reflection (currently affects some popular NuGets, like SQLite and Json.NET). Other NuGets are still supported.

If you compile it to an APK it works fine on the actual device.

Also posted an issue here: https://github.com/JamesNK/Newtonsoft.Json/issues/1578

Leave a Comment