Json.NET Documentation
Json.NET Documentation
API Reference
Newtonsoft.Json
JsonTextWriter Class
JsonTextWriter Methods
WriteValue Method
WriteValue Method (Boolean)
WriteValue Method (Byte)
WriteValue Method (Byte[])
WriteValue Method (Char)
WriteValue Method (DateTime)
WriteValue Method (DateTimeOffset)
WriteValue Method (Decimal)
WriteValue Method (Double)
WriteValue Method (Guid)
WriteValue Method (Int16)
WriteValue Method (Int32)
WriteValue Method (Int64)
WriteValue Method (Nullable(Double))
WriteValue Method (Nullable(Single))
WriteValue Method (Object)
WriteValue Method (SByte)
WriteValue Method (Single)
WriteValue Method (String)
WriteValue Method (TimeSpan)
WriteValue Method (UInt16)
WriteValue Method (UInt32)
WriteValue Method (UInt64)
WriteValue Method (Uri)
JsonTextWriter
WriteValue Method
Overload List
Name
Description
WriteValue(Boolean)
Writes a
Boolean
value.
(Overrides
JsonWriter
WriteValue(Boolean)
.)
WriteValue(Byte)
Writes a
Byte
value.
(Overrides
JsonWriter
WriteValue(Byte)
.)
WriteValue(
Byte
)
Writes a
Byte
[] value.
(Overrides
JsonWriter
WriteValue(
Byte
)
.)
WriteValue(Char)
Writes a
Char
value.
(Overrides
JsonWriter
WriteValue(Char)
.)
WriteValue(DateTime)
Writes a
DateTime
value.
(Overrides
JsonWriter
WriteValue(DateTime)
.)
WriteValue(DateTimeOffset)
Writes a
DateTimeOffset
value.
(Overrides
JsonWriter
WriteValue(DateTimeOffset)
.)
WriteValue(Decimal)
Writes a
Decimal
value.
(Overrides
JsonWriter
WriteValue(Decimal)
.)
WriteValue(Double)
Writes a
Double
value.
(Overrides
JsonWriter
WriteValue(Double)
.)
WriteValue(Guid)
Writes a
Guid
value.
(Overrides
JsonWriter
WriteValue(Guid)
.)
WriteValue(Int16)
Writes a
Int16
value.
(Overrides
JsonWriter
WriteValue(Int16)
.)
WriteValue(Int32)
Writes a
Int32
value.
(Overrides
JsonWriter
WriteValue(Int32)
.)
WriteValue(Int64)
Writes a
Int64
value.
(Overrides
JsonWriter
WriteValue(Int64)
.)
WriteValue(Nullable
Double
)
Writes a
Nullable
T
of
Double
value.
(Overrides
JsonWriter
WriteValue(Nullable
Double
)
.)
WriteValue(Nullable
Single
)
Writes a
Nullable
T
of
Single
value.
(Overrides
JsonWriter
WriteValue(Nullable
Single
)
.)
WriteValue(Object)
Writes a
Object
value. An error will raised if the value cannot be written as a single JSON token.
(Overrides
JsonWriter
WriteValue(Object)
.)
WriteValue(SByte)
Writes a
SByte
value.
(Overrides
JsonWriter
WriteValue(SByte)
.)
WriteValue(Single)
Writes a
Single
value.
(Overrides
JsonWriter
WriteValue(Single)
.)
WriteValue(String)
Writes a
String
value.
(Overrides
JsonWriter
WriteValue(String)
.)
WriteValue(TimeSpan)
Writes a
TimeSpan
value.
(Overrides
JsonWriter
WriteValue(TimeSpan)
.)
WriteValue(UInt16)
Writes a
UInt16
value.
(Overrides
JsonWriter
WriteValue(UInt16)
.)
WriteValue(UInt32)
Writes a
UInt32
value.
(Overrides
JsonWriter
WriteValue(UInt32)
.)
WriteValue(UInt64)
Writes a
UInt64
value.
(Overrides
JsonWriter
WriteValue(UInt64)
.)
WriteValue(Uri)
Writes a
Uri
value.
(Overrides
JsonWriter
WriteValue(Uri)
.)
WriteValue(Nullable
Boolean
)
Writes a
Nullable
T
of
Boolean
value.
(Inherited from
JsonWriter
.)
WriteValue(Nullable
Byte
)
Writes a
Nullable
T
of
Byte
value.
(Inherited from
JsonWriter
.)
WriteValue(Nullable
Char
)
Writes a
Nullable
T
of
Char
value.
(Inherited from
JsonWriter
.)
WriteValue(Nullable
DateTime
)
Writes a
Nullable
T
of
DateTime
value.
(Inherited from
JsonWriter
.)
WriteValue(Nullable
DateTimeOffset
)
Writes a
Nullable
T
of
DateTimeOffset
value.
(Inherited from
JsonWriter
.)
WriteValue(Nullable
Decimal
)
Writes a
Nullable
T
of
Decimal
value.
(Inherited from
JsonWriter
.)
WriteValue(Nullable
Guid
)
Writes a
Nullable
T
of
Guid
value.
(Inherited from
JsonWriter
.)
WriteValue(Nullable
Int16
)
Writes a
Nullable
T
of
Int16
value.
(Inherited from
JsonWriter
.)
WriteValue(Nullable
Int32
)
Writes a
Nullable
T
of
Int32
value.
(Inherited from
JsonWriter
.)
WriteValue(Nullable
Int64
)
Writes a
Nullable
T
of
Int64
value.
(Inherited from
JsonWriter
.)
WriteValue(Nullable
SByte
)
Writes a
Nullable
T
of
SByte
value.
(Inherited from
JsonWriter
.)
WriteValue(Nullable
TimeSpan
)
Writes a
Nullable
T
of
TimeSpan
value.
(Inherited from
JsonWriter
.)
WriteValue(Nullable
UInt16
)
Writes a
Nullable
T
of
UInt16
value.
(Inherited from
JsonWriter
.)
WriteValue(Nullable
UInt32
)
Writes a
Nullable
T
of
UInt32
value.
(Inherited from
JsonWriter
.)
WriteValue(Nullable
UInt64
)
Writes a
Nullable
T
of
UInt64
value.
(Inherited from
JsonWriter
.)
Top
See Also
Reference
JsonTextWriter Class
Newtonsoft.Json Namespace
Json.NET Home