You are here: Symbol Reference > Stimulsoft.Base.Json.Linq Namespace > JToken Class > JToken Methods > ToObject Method > ToObject Method (Type, JsonSerializer)
Stimulsoft Reports Class Reference
ContentsIndexHome
PreviousUpNext
JToken.ToObject Method (Type, JsonSerializer)

Creates the specified .NET type from the JToken using the specified JsonSerializer.

Syntax
C++
C#
Visual Basic
public: object ToObject( Type objectType, JsonSerializer jsonSerializer );
Parameters
Parameters 
Description 
objectType 
The object type that the token will be deserialized to. 
jsonSerializer 
The JsonSerializer that will be used when creating the object. 
Returns

The new object created from the JSON value.

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