JsonConvertSerializeObjectAsync Method (Object, Formatting, JsonSerializerSettings) |
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, settings))")] public static Task<string> SerializeObjectAsync( Object value, Formatting formatting, JsonSerializerSettings settings )