You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Xamarin.Forms project when serializing an object the json returned is "{}" when running via the live player (android):
[Preserve(AllMembers = true)]
[JsonObject(MemberSerialization.OptOut)]
public class Author
{
public int Id;
public string Name;
}
Author mmm = new Author
{
Id = 100,
Name = "asdjasd"
};
string json = JsonConvert.SerializeObject(mmm);
DisplayAlert("Dialog Title", json, "Ok", "Cancel");
Xamarin.Forms project when serializing an object the json returned is "{}" when running via the live player (android):
Originally reported here:
https://stackoverflow.com/questions/48041823/jsonconvert-serializeobject-always-return-in-xamarinforms
The text was updated successfully, but these errors were encountered: