JsonConvert.SerializeObject always return {} in XamarinForms

后端 未结 2 2010
渐次进展
渐次进展 2020-11-27 08:34

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

2条回答
  •  孤城傲影
    2020-11-27 08:53

    I tried setting up emulator on a fast machine and the serialize works! So it means it doesn't work when i run it on live player using my android phone. I will set this as an answer for now. if someone else posted on how to make it work on live player, i will set it as the correct answer

提交回复
热议问题