Click or drag to resize
Json.NET

JsonReaderSetToken Method (JsonToken, Object, Boolean)

 
Sets the current token and value.

Namespace:  Newtonsoft.Json
Assembly:  Newtonsoft.Json (in Newtonsoft.Json.dll) Version: 12.0.1+509643a8952ce731e0207710c429ad6e67dc43db
Syntax
C#
protected void SetToken(
	JsonToken newToken,
	Object value,
	bool updateIndex
)

Parameters

newToken
Type: Newtonsoft.JsonJsonToken
The new token.
value
Type: SystemObject
The value.
updateIndex
Type: SystemBoolean
A flag indicating whether the position index inside an array should be updated.
See Also