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 | | | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------- | | Public methodStatic member | ToBoolean | Converts a string to a Boolean. | | Public methodStatic member | ToDateTime | Converts a string to a DateTime. | | Public methodStatic member | ToDateTimeOffset | Converts a string to a DateTimeOffset. | | Public methodStatic member | ToDecimal | Converts a string to a Decimal. | | Public methodStatic member | ToDecimal128 | Converts a string to a Decimal128. | | Public methodStatic member | ToDouble | Converts a string to a Double. | | Public methodStatic member | ToInt16 | Converts a string to an Int16. | | Public methodStatic member | ToInt32 | Converts a string to an Int32. | | Public methodStatic member | ToInt64 | Converts a string to an Int64. | | Public methodStatic member | ToSingle | Converts a string to a Single. | | Public methodStatic member | ToString(Boolean) | Converts a Boolean to a string. | | Public methodStatic member | ToString(DateTime) | Converts a DateTime to a string. | | Public methodStatic member | ToString(DateTimeOffset) | Converts a DateTimeOffset to a string. | | Public methodStatic member | ToString(Decimal) | Converts a Decimal to a string. | | Public methodStatic member | ToString(Double) | Converts a Double to a string. | | Public methodStatic member | ToString(Int16) | Converts an Int16 to a string. | | Public methodStatic member | ToString(Int32) | Converts an Int32 to a string. | | Public methodStatic member | ToString(Int64) | Converts an Int64 to a string. | | Public methodStatic member | ToString(Single) | Converts a Single to a string. | | Public methodStatic member | ToString(UInt16) | Converts a UInt16 to a string. | | Public methodStatic member | ToString(UInt32) | Converts a UInt32 to a string. | | Public methodStatic member | ToString(UInt64) | Converts a UInt64 to a string. | | Public methodStatic member | ToString(Decimal128) | Converts a Decimal128 to a string. | | Public methodStatic member | ToUInt16 | Converts a string to a UInt16. | | Public methodStatic member | ToUInt32 | Converts a string to a UInt32. | | Public methodStatic member | ToUInt64 | Converts a string to a UInt64. |

Top