Class JsonFormatterConverter
Inheritance
System.Object
JsonFormatterConverter
Implements
System.Runtime.Serialization.IFormatterConverter
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Bayat.Json.Runtime.dll
public class JsonFormatterConverter : IFormatterConverter
Constructors
|
Improve this Doc
View Source
Declaration
public JsonFormatterConverter(JsonSerializerReader reader, JsonISerializableContract contract, JsonProperty member)
Parameters
Methods
|
Improve this Doc
View Source
Declaration
public object Convert(object value, Type type)
Parameters
Type |
Name |
Description |
System.Object |
value |
|
System.Type |
type |
|
Returns
Type |
Description |
System.Object |
|
|
Improve this Doc
View Source
Declaration
public object Convert(object value, TypeCode typeCode)
Parameters
Type |
Name |
Description |
System.Object |
value |
|
System.TypeCode |
typeCode |
|
Returns
Type |
Description |
System.Object |
|
|
Improve this Doc
View Source
Declaration
public bool ToBoolean(object value)
Parameters
Type |
Name |
Description |
System.Object |
value |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Declaration
public byte ToByte(object value)
Parameters
Type |
Name |
Description |
System.Object |
value |
|
Returns
Type |
Description |
System.Byte |
|
|
Improve this Doc
View Source
Declaration
public char ToChar(object value)
Parameters
Type |
Name |
Description |
System.Object |
value |
|
Returns
Type |
Description |
System.Char |
|
|
Improve this Doc
View Source
Declaration
public DateTime ToDateTime(object value)
Parameters
Type |
Name |
Description |
System.Object |
value |
|
Returns
Type |
Description |
System.DateTime |
|
|
Improve this Doc
View Source
Declaration
public decimal ToDecimal(object value)
Parameters
Type |
Name |
Description |
System.Object |
value |
|
Returns
Type |
Description |
System.Decimal |
|
|
Improve this Doc
View Source
Declaration
public double ToDouble(object value)
Parameters
Type |
Name |
Description |
System.Object |
value |
|
Returns
Type |
Description |
System.Double |
|
|
Improve this Doc
View Source
Declaration
public short ToInt16(object value)
Parameters
Type |
Name |
Description |
System.Object |
value |
|
Returns
Type |
Description |
System.Int16 |
|
|
Improve this Doc
View Source
Declaration
public int ToInt32(object value)
Parameters
Type |
Name |
Description |
System.Object |
value |
|
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Declaration
public long ToInt64(object value)
Parameters
Type |
Name |
Description |
System.Object |
value |
|
Returns
Type |
Description |
System.Int64 |
|
|
Improve this Doc
View Source
Declaration
public sbyte ToSByte(object value)
Parameters
Type |
Name |
Description |
System.Object |
value |
|
Returns
Type |
Description |
System.SByte |
|
|
Improve this Doc
View Source
Declaration
public float ToSingle(object value)
Parameters
Type |
Name |
Description |
System.Object |
value |
|
Returns
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
Declaration
public string ToString(object value)
Parameters
Type |
Name |
Description |
System.Object |
value |
|
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Declaration
public ushort ToUInt16(object value)
Parameters
Type |
Name |
Description |
System.Object |
value |
|
Returns
Type |
Description |
System.UInt16 |
|
|
Improve this Doc
View Source
Declaration
public uint ToUInt32(object value)
Parameters
Type |
Name |
Description |
System.Object |
value |
|
Returns
Type |
Description |
System.UInt32 |
|
|
Improve this Doc
View Source
Declaration
public ulong ToUInt64(object value)
Parameters
Type |
Name |
Description |
System.Object |
value |
|
Returns
Type |
Description |
System.UInt64 |
|
Implements
System.Runtime.Serialization.IFormatterConverter