Click or drag to resize

JsonConvertSerializeObjectAsync Method (Object, Formatting, JsonSerializerSettings)

Note: This API is now obsolete.

Namespace:  Newtonsoft.Json
Assembly:  RebornBuddy (in RebornBuddy.exe) Version: 3.3.1; net-4.5.win32; release
Syntax
C#
[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
)

Parameters

value
Type: SystemObject
formatting
Type: Newtonsoft.JsonFormatting
settings
Type: Newtonsoft.JsonJsonSerializerSettings

Return Value

Type: TaskString
See Also