You are here: Symbol Reference > Stimulsoft.Base.Json Namespace > JsonWriter Class > JsonWriter Methods > WriteToken Method > WriteToken Method (JsonToken, object)
Stimulsoft Reports Class Reference
ContentsIndexHome
PreviousUpNext
JsonWriter.WriteToken Method (JsonToken, object)

Writes the JsonToken token and its value.

Syntax
C++
C#
Visual Basic
public: void WriteToken( JsonToken token, object value );
Parameters
Parameters 
Description 
token 
The JsonToken to write. 
value 
The value to write. A value is only required for tokens that have an associated value, e.g. the String property name for JsonToken.PropertyName. A null value can be passed to the method for token's that don't have a value, e.g. JsonToken.StartObject
Made with Doc-O-Matic.
What do you think about this topic? Send feedback!
Copyright (c) 2017. All rights reserved.