Table of Contents

Class JsonConvert

Namespace
MongoDB.Bson.IO
Assembly
MongoDB.Bson.dll

Encodes and decodes scalar values to JSON compatible strings.

public static class JsonConvert
Inheritance
JsonConvert
Inherited Members

Methods

ToBoolean(string)

Converts a string to a Boolean.

ToDateTime(string)

Converts a string to a DateTime.

ToDateTimeOffset(string)

Converts a string to a DateTimeOffset.

ToDecimal(string)

Converts a string to a Decimal.

ToDecimal128(string)

Converts a string to a Decimal128.

ToDouble(string)

Converts a string to a Double.

ToInt16(string)

Converts a string to an Int16.

ToInt32(string)

Converts a string to an Int32.

ToInt64(string)

Converts a string to an Int64.

ToSingle(string)

Converts a string to a Single.

ToString(Decimal128)

Converts a Decimal128 to a string.

ToString(bool)

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(short)

Converts an Int16 to a string.

ToString(int)

Converts an Int32 to a string.

ToString(long)

Converts an Int64 to a string.

ToString(float)

Converts a Single to a string.

ToString(ushort)

Converts a UInt16 to a string.

ToString(uint)

Converts a UInt32 to a string.

ToString(ulong)

Converts a UInt64 to a string.

ToUInt16(string)

Converts a string to a UInt16.

ToUInt32(string)

Converts a string to a UInt32.

ToUInt64(string)

Converts a string to a UInt64.