JTokenUtility.Clone<T> method

Clones the specified Json.NET token.

public static T? Clone<T>(T? token)
    where T : JToken
parameter description
T The type of token.
token The token.

Return Value

The clone.

See Also