JsonConvertSerializeObjectAsync Method (Object, Formatting) |
Note: This API is now obsolete.
Namespace: Newtonsoft.Json
[ObsoleteAttribute("SerializeObjectAsync is obsolete. Use the Task.Factory.StartNew method to serialize JSON asynchronously: Task.Factory.StartNew(() => SerializeObject(value, formatting))")] public static Task<string> SerializeObjectAsync( Object value, Formatting formatting )