JsonConvert.SerializeObject does not seem to work on xamarin forms. Or I might be missing something here. Here is the result when I serialize a simple object. 
See how it returns {}. I also tried serializing the class and it returned the same.
What could be the problem?
UPDATE
There is still no solution to this problem. I tried to create a simple console application and serializeObject is working on this project, so I assume that it does not work only in xamarin formats. Does anyone have a xamarin creation project that runs serializedobject JSON.NET?
I am using visual studio 2017, json.net 10.0.3 and live player.
source share