JsonConvert Class (original) (raw)
Encodes and decodes scalar values to JSON compatible strings.
Namespace: MongoDB.Bson.IO
Assembly: MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.10.0+569905ff5e778c38ea19d9d0392496a83e1704ed
The JsonConvert type exposes the following members.
| | Name | Description | |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------- |
| | ToBoolean | Converts a string to a Boolean. |
|
| ToDateTime | Converts a string to a DateTime. |
|
| ToDateTimeOffset | Converts a string to a DateTimeOffset. |
|
| ToDecimal | Converts a string to a Decimal. |
|
| ToDecimal128 | Converts a string to a Decimal128. |
|
| ToDouble | Converts a string to a Double. |
|
| ToInt16 | Converts a string to an Int16. |
|
| ToInt32 | Converts a string to an Int32. |
|
| ToInt64 | Converts a string to an Int64. |
|
| ToSingle | Converts a string to a Single. |
|
| ToString(Boolean) | Converts a Boolean to a string. |
|
| ToString(DateTime) | Converts a DateTime to a string. |
|
| ToString(DateTimeOffset) | Converts a DateTimeOffset to a string. |
|
| ToString(Decimal) | Converts a Decimal to a string. |
|
| ToString(Double) | Converts a Double to a string. |
|
| ToString(Int16) | Converts an Int16 to a string. |
|
| ToString(Int32) | Converts an Int32 to a string. |
|
| ToString(Int64) | Converts an Int64 to a string. |
|
| ToString(Single) | Converts a Single to a string. |
|
| ToString(UInt16) | Converts a UInt16 to a string. |
|
| ToString(UInt32) | Converts a UInt32 to a string. |
|
| ToString(UInt64) | Converts a UInt64 to a string. |
|
| ToString(Decimal128) | Converts a Decimal128 to a string. |
|
| ToUInt16 | Converts a string to a UInt16. |
|
| ToUInt32 | Converts a string to a UInt32. |
|
| ToUInt64 | Converts a string to a UInt64. |