You are here: Symbol Reference > Stimulsoft.Base.Json Namespace > JsonConvert Class > JsonConvert Methods > SerializeObjectAsync Method > SerializeObjectAsync Method (object, Formatting, JsonSerializerSettings)
Stimulsoft Reports Class Reference
ContentsIndexHome
PreviousUpNext
JsonConvert.SerializeObjectAsync Method (object, Formatting, JsonSerializerSettings)

Asynchronously serializes the specified object to a JSON string using formatting and a collection of JsonConverter. Serialization will happen on a new thread.

Syntax
C++
C#
Visual Basic
public: Task<string> SerializeObjectAsync( object value, Formatting formatting, JsonSerializerSettings settings );
Parameters
Parameters 
Description 
value 
The object to serialize. 
formatting 
Indicates how the output is formatted. 
settings 
The JsonSerializerSettings used to serialize the object. If this is null, default serialization settings will be used. 
Returns

A task that represents the asynchronous serialize operation. The value of the TResult parameter contains a JSON string representation of the object.

Made with Doc-O-Matic.
What do you think about this topic? Send feedback!
Copyright (c) 2017. All rights reserved.