You are here: Symbol Reference > Stimulsoft.Base.Json Namespace > JsonSerializer Class > JsonSerializer Methods > Serialize Method > Serialize Method (JsonWriter, object, Type)
Stimulsoft Reports Class Reference
ContentsIndexHome
PreviousUpNext
JsonSerializer.Serialize Method (JsonWriter, object, Type)

Serializes the specified Object and writes the JSON structure to a Stream using the specified TextWriter.

Syntax
C++
C#
Visual Basic
public: void Serialize( JsonWriter jsonWriter, object value, Type objectType );
Parameters
Parameters 
Description 
jsonWriter 
The JsonWriter used to write the JSON structure. 
value 
The Object to serialize. 
objectType 
The type of the value being serialized. This parameter is used when TypeNameHandling is Auto to write out the type name if the type of the value does not match. Specifing the type is optional.  
Made with Doc-O-Matic.
What do you think about this topic? Send feedback!
Copyright (c) 2017. All rights reserved.