JsonConvert.SerializeObject seems to be not working in xamarin forms. Or i might be missing something here. Here is the output when i serialize a simple object.
See it returns {}. I tried serializing a class also and it did return the same.
What could be the problem here?
UPDATE
Still no solution to this issue. I tried creating a simple console application and serializeObject is working on that project so i assume it is not working in xamarin forms only. Does anybody have a xamarin forms project where JSON.NET's serializeobject is working?
I am using visual studio 2017, json.net 10.0.3 and live player.