Class JsonTypeReflector
Inheritance
System.Object
JsonTypeReflector
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
Syntax
public static class JsonTypeReflector
Fields
|
Improve this Doc
View Source
ArrayValuesPropertyName
Declaration
public const string ArrayValuesPropertyName = "$values"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
ComponentNameFieldName
Declaration
public const string ComponentNameFieldName = "name"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
ComponentTagFieldName
Declaration
public const string ComponentTagFieldName = "tag"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
IdPropertyName
Declaration
public const string IdPropertyName = "$id"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
RefPropertyName
Declaration
public const string RefPropertyName = "$ref"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
ShouldSerializePrefix
Declaration
public const string ShouldSerializePrefix = "ShouldSerialize"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
SpecifiedPostfix
Declaration
public const string SpecifiedPostfix = "Specified"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
TypePropertyName
Declaration
public const string TypePropertyName = "$type"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
UnityRefPropertyName
Declaration
public const string UnityRefPropertyName = "$unityRef"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
ValuePropertyName
Declaration
public const string ValuePropertyName = "$value"
Field Value
Type |
Description |
System.String |
|
Properties
|
Improve this Doc
View Source
DynamicCodeGeneration
Declaration
public static bool DynamicCodeGeneration { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
FullyTrusted
Declaration
public static bool FullyTrusted { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
ReflectionDelegateFactory
Declaration
public static ReflectionDelegateFactory ReflectionDelegateFactory { get; }
Property Value
Methods
|
Improve this Doc
View Source
CreateJsonConverterInstance(Type, Object[])
Lookup and create an instance of the JsonConverter type described by the argument.
Declaration
public static JsonConverter CreateJsonConverterInstance(Type converterType, object[] converterArgs)
Parameters
Type |
Name |
Description |
System.Type |
converterType |
The JsonConverter type to create.
|
System.Object[] |
converterArgs |
Optional arguments to pass to an initializing constructor of the JsonConverter.
If null, the default constructor is used.
|
Returns
|
Improve this Doc
View Source
GetAttribute<T>(Object)
Declaration
public static T GetAttribute<T>(object provider)
where T : Attribute
Parameters
Type |
Name |
Description |
System.Object |
provider |
|
Returns
Type Parameters
|
Improve this Doc
View Source
GetCachedAttribute<T>(Object)
Declaration
public static T GetCachedAttribute<T>(object attributeProvider)
where T : Attribute
Parameters
Type |
Name |
Description |
System.Object |
attributeProvider |
|
Returns
Type Parameters
|
Improve this Doc
View Source
GetDataContractAttribute(Type)
Declaration
public static DataContractAttribute GetDataContractAttribute(Type type)
Parameters
Type |
Name |
Description |
System.Type |
type |
|
Returns
Type |
Description |
System.Runtime.Serialization.DataContractAttribute |
|
|
Improve this Doc
View Source
GetDataMemberAttribute(MemberInfo)
Declaration
public static DataMemberAttribute GetDataMemberAttribute(MemberInfo memberInfo)
Parameters
Type |
Name |
Description |
System.Reflection.MemberInfo |
memberInfo |
|
Returns
Type |
Description |
System.Runtime.Serialization.DataMemberAttribute |
|
|
Improve this Doc
View Source
GetJsonConverter(Object)
Declaration
public static JsonConverter GetJsonConverter(object attributeProvider)
Parameters
Type |
Name |
Description |
System.Object |
attributeProvider |
|
Returns
|
Improve this Doc
View Source
GetObjectMemberSerialization(Type, Boolean)
Declaration
public static MemberSerialization GetObjectMemberSerialization(Type objectType, bool ignoreSerializableAttribute)
Parameters
Type |
Name |
Description |
System.Type |
objectType |
|
System.Boolean |
ignoreSerializableAttribute |
|
Returns
|
Improve this Doc
View Source
GetTypeConverter(Type)
Declaration
public static TypeConverter GetTypeConverter(Type type)
Parameters
Type |
Name |
Description |
System.Type |
type |
|
Returns
Type |
Description |
System.ComponentModel.TypeConverter |
|