Partilhar via


JsonExtensions.ToJToken(Object) Method

Definition

Serialize object to JToken.

public static Newtonsoft.Json.Linq.JToken ToJToken (this object obj);
static member ToJToken : obj -> Newtonsoft.Json.Linq.JToken
<Extension()>
Public Function ToJToken (obj As Object) As JToken

Parameters

obj
Object

The object.

Returns

Newtonsoft.Json.Linq.JToken

Applies to