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