API reference
API reference
Select your platform
No SDKs available
No versions available

BaseJsonVariableInfo Class

Extends IJsonVariableInfo
Abstract base class for property/field access

Protected Fields

Stored PropertyInfo/FieldInfo

Protected Functions

Constructor that takes in FieldInfo/PropertyInfo
Obtains name of property/field
Whether a specified attribute is defined on this property/field
Obtains all instances of a specified attribute on this property/field
Whether or not the get method exists
Whether or not the get method can be used for this property/field
Whether or not the setter exists
Whether or not the set method can be used for this property/field

Member Functions

The desired variable name when serializing/deserializing using custom attributes & base name.
Can serialize if getter is public, there is a JsonPropertyAttribute & no JsonIgnore attribute
Only deserialize if can get & set
abstract Type GetVariableType ( )
abstract object GetValue
( object obj )
abstract void SetValue
( object obj,
object newValue )
Did you find this page helpful?
Thumbs up icon
Thumbs down icon