API reference

IJsonVariableInfo Interface

Interface for simplifying interaction with a property/field

Methods

GetSerializeNames ()
The desired variable names when serializing/deserializing
Signature
string [] Meta.WitAi.Json.IJsonVariableInfo.GetSerializeNames()
Returns
string []
GetShouldDeserialize ()
Whether or not this variable should be deserialized
Signature
bool Meta.WitAi.Json.IJsonVariableInfo.GetShouldDeserialize()
Returns
bool
GetShouldSerialize ()
Whether or not this variable should be serialized
Signature
bool Meta.WitAi.Json.IJsonVariableInfo.GetShouldSerialize()
Returns
bool
GetValue ( obj )
Obtains the value of this property/field on a specific object
Signature
object Meta.WitAi.Json.IJsonVariableInfo.GetValue(object obj)
Parameters
obj: object
Returns
object
GetVariableType ()
The property/field type
Signature
Type Meta.WitAi.Json.IJsonVariableInfo.GetVariableType()
Returns
Type
SetValue ( obj , newValue )
Sets the value of this property/field onto a specific object
Signature
void Meta.WitAi.Json.IJsonVariableInfo.SetValue(object obj, object newValue)
Parameters
obj: object
newValue: object
Returns
void