天天看點

how to convert a object to json file immediately during debug?



how to convert a object to json file immediately during debug?

in debug model, in VS, Debug/Windows

select the Immediate

type following:

var supportRequestJson = JsonConvert.SerializeObject(supportRequest);

supportRequest is the object which you want to convert it to json.