Skip to main content Skip to complementary content

TokenToQixObject Method

Overloads

TokenToQixObject(JToken, Type, String, JsonSerializer)

Deserialize a Newtonsoft.Json.Linq.JToken to an object of a class extending QixClassBase.

TokenToQixObject(JToken, Type, String, JsonSerializer)

Deserialize a Newtonsoft.Json.Linq.JToken to an object of a class extending QixClassBase.

Declaration

      public static QixClassBase TokenToQixObject(JToken token, Type subType, string id, JsonSerializer serializer)
    

Parameters

Type Name Description
Newtonsoft.Json.Linq.JToken token

The source token to deserialize.

System.Type subType

The type to deserialize to.

System.String id

The identifier of the qix object.

Newtonsoft.Json.JsonSerializer serializer

The Newtonsoft.Json.JsonSerializer to use for deserialization.

Returns

Type Description
QixClassBase

The deserialized QixClassBase instance.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!