We use Newtonsoft.Json all over the place in our App and love it! However, we recently wanted to optimize our App startup time and found out by measuring various things that whenever we deserialize some JSON for the first time, there's a huge lag of about 800ms to 1s. It doesn't really matter if we use JsonConver.DeserializeObject() or a new JsonSerializer(), the lag is always noticeable on the first time.
I made a small repo case here: https://github.com/monostefan/json.net_android_slow_start
Does anybody know why this is so slow on Xamarin.Android? And is there maybe a workaround?