Click or drag to resize

JsonConvert Class

Encodes and decodes scalar values to JSON compatible strings.
Inheritance Hierarchy
SystemObject
  MongoDB.Bson.IOJsonConvert

Namespace:  MongoDB.Bson.IO
Assembly:  MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.10.0+569905ff5e778c38ea19d9d0392496a83e1704ed
Syntax
public static class JsonConvert

The JsonConvert type exposes the following members.

Methods
  NameDescription
Public methodStatic memberToBoolean
Converts a string to a Boolean.
Public methodStatic memberToDateTime
Converts a string to a DateTime.
Public methodStatic memberToDateTimeOffset
Converts a string to a DateTimeOffset.
Public methodStatic memberToDecimal
Converts a string to a Decimal.
Public methodStatic memberToDecimal128
Converts a string to a Decimal128.
Public methodStatic memberToDouble
Converts a string to a Double.
Public methodStatic memberToInt16
Converts a string to an Int16.
Public methodStatic memberToInt32
Converts a string to an Int32.
Public methodStatic memberToInt64
Converts a string to an Int64.
Public methodStatic memberToSingle
Converts a string to a Single.
Public methodStatic memberToString(Boolean)
Converts a Boolean to a string.
Public methodStatic memberToString(DateTime)
Converts a DateTime to a string.
Public methodStatic memberToString(DateTimeOffset)
Converts a DateTimeOffset to a string.
Public methodStatic memberToString(Decimal)
Converts a Decimal to a string.
Public methodStatic memberToString(Double)
Converts a Double to a string.
Public methodStatic memberToString(Int16)
Converts an Int16 to a string.
Public methodStatic memberToString(Int32)
Converts an Int32 to a string.
Public methodStatic memberToString(Int64)
Converts an Int64 to a string.
Public methodStatic memberToString(Single)
Converts a Single to a string.
Public methodStatic memberToString(UInt16)
Converts a UInt16 to a string.
Public methodStatic memberToString(UInt32)
Converts a UInt32 to a string.
Public methodStatic memberToString(UInt64)
Converts a UInt64 to a string.
Public methodStatic memberToString(Decimal128)
Converts a Decimal128 to a string.
Public methodStatic memberToUInt16
Converts a string to a UInt16.
Public methodStatic memberToUInt32
Converts a string to a UInt32.
Public methodStatic memberToUInt64
Converts a string to a UInt64.
Top
See Also