DefaultConverters
: JsonConverter [] |
Signature
JsonConverter [] Meta.WitAi.Json.JsonConvert.DefaultConverters |
DeserializeArray< ITEM_TYPE >
(
oldArray
, jsonToken
, log
, customConverters
)
|
Deserialize a specific array
Signature
static ITEM_TYPE [] Meta.WitAi.Json.JsonConvert.DeserializeArray< ITEM_TYPE >(object oldArray, WitResponseNode jsonToken, StringBuilder log, JsonConverter[] customConverters) Parameters Returns ITEM_TYPE [] |
DeserializeIntoObject< IN_TYPE >
(
instance
, jsonString
, customConverters
, suppressWarnings
)
|
Deserialize json string into an existing instance
Signature
static IN_TYPE Meta.WitAi.Json.JsonConvert.DeserializeIntoObject< IN_TYPE >(IN_TYPE instance, string jsonString, JsonConverter[] customConverters=null, bool suppressWarnings=false) Parameters Returns IN_TYPE |
DeserializeIntoObject< IN_TYPE >
(
instance
, jsonToken
, customConverters
, suppressWarnings
)
|
Deserialize json string into an existing instance
Signature
static IN_TYPE Meta.WitAi.Json.JsonConvert.DeserializeIntoObject< IN_TYPE >(IN_TYPE instance, WitResponseNode jsonToken, JsonConverter[] customConverters=null, bool suppressWarnings=false) Parameters Returns IN_TYPE |
DeserializeIntoObjectAsync< IN_TYPE >
(
instance
, jsonString
, customConverters
, suppressWarnings
)
|
Deserialize json string into an existing instance async
Signature
static async Task<IN_TYPE> Meta.WitAi.Json.JsonConvert.DeserializeIntoObjectAsync< IN_TYPE >(IN_TYPE instance, string jsonString, JsonConverter[] customConverters=null, bool suppressWarnings=false) Parameters Returns async Task< IN_TYPE > |
DeserializeIntoObjectAsync< IN_TYPE >
(
instance
, jsonToken
, customConverters
, suppressWarnings
)
|
Deserialize json string into an existing instance async
Signature
static async Task<IN_TYPE> Meta.WitAi.Json.JsonConvert.DeserializeIntoObjectAsync< IN_TYPE >(IN_TYPE instance, WitResponseNode jsonToken, JsonConverter[] customConverters=null, bool suppressWarnings=false) Parameters Returns async Task< IN_TYPE > |
DeserializeObject< IN_TYPE >
(
jsonString
, customConverters
, suppressWarnings
)
|
Generate a default instance, deserialize and return
Signature
static IN_TYPE Meta.WitAi.Json.JsonConvert.DeserializeObject< IN_TYPE >(string jsonString, JsonConverter[] customConverters=null, bool suppressWarnings=false) Parameters Returns IN_TYPE |
DeserializeObject< IN_TYPE >
(
jsonToken
, customConverters
, suppressWarnings
)
|
Generate a default instance, deserialize and return
Signature
static IN_TYPE Meta.WitAi.Json.JsonConvert.DeserializeObject< IN_TYPE >(WitResponseNode jsonToken, JsonConverter[] customConverters=null, bool suppressWarnings=false) Parameters Returns IN_TYPE |
DeserializeObjectAsync< IN_TYPE >
(
jsonString
, customConverters
, suppressWarnings
)
|
Generate a default instance, deserialize and return async
Signature
static async Task<IN_TYPE> Meta.WitAi.Json.JsonConvert.DeserializeObjectAsync< IN_TYPE >(string jsonString, JsonConverter[] customConverters=null, bool suppressWarnings=false) Parameters Returns async Task< IN_TYPE > |
DeserializeObjectAsync< IN_TYPE >
(
jsonToken
, customConverters
, suppressWarnings
)
|
Generate a default instance, deserialize and return async
Signature
static async Task<IN_TYPE> Meta.WitAi.Json.JsonConvert.DeserializeObjectAsync< IN_TYPE >(WitResponseNode jsonToken, JsonConverter[] customConverters=null, bool suppressWarnings=false) Parameters Returns async Task< IN_TYPE > |
DeserializeToken
(
jsonString
)
|
Safely parse a string into a json node
Signature
static WitResponseNode Meta.WitAi.Json.JsonConvert.DeserializeToken(string jsonString) Parameters |
DeserializeTokenAsync
(
jsonString
)
|
Safely parse a string into a json node async
Signature
static async Task<WitResponseNode> Meta.WitAi.Json.JsonConvert.DeserializeTokenAsync(string jsonString) Parameters Returns async Task< WitResponseNode > |
SerializeObject< TFromType >
(
inObject
, customConverters
, suppressWarnings
)
|
Serializes an object into a json string
Signature
static string Meta.WitAi.Json.JsonConvert.SerializeObject< TFromType >(TFromType inObject, JsonConverter[] customConverters=null, bool suppressWarnings=false) Parameters inObject: TFromType
The object to be serialized into json
suppressWarnings: bool
If true, all warnings will be ignored
Returns string
A json string corresponding to the inObject
|
SerializeObjectAsync< TFromType >
(
inObject
, customConverters
, suppressWarnings
)
|
Serializes an object into a json string asynchronously
Signature
static async Task<string> Meta.WitAi.Json.JsonConvert.SerializeObjectAsync< TFromType >(TFromType inObject, JsonConverter[] customConverters=null, bool suppressWarnings=false) Parameters inObject: TFromType
The object to be serialized into json
suppressWarnings: bool
If true, all warnings will be ignored
Returns async Task< string >
A string after waiting for the serialization
|
SerializeToken< TFromType >
(
inObject
, customConverters
, suppressWarnings
)
|
Serializes an object into a WitResponseNode
Signature
static WitResponseNode Meta.WitAi.Json.JsonConvert.SerializeToken< TFromType >(TFromType inObject, JsonConverter[] customConverters=null, bool suppressWarnings=false) Parameters inObject: TFromType
The object to be serialized into json
suppressWarnings: bool
If true, all warnings will be ignored
Returns WitResponseNode
A json WitResponseNode corresponding to the inObject, or null in case of errors
|
SerializeTokenAsync< TFromType >
(
inObject
, customConverters
, suppressWarnings
)
|
Serializes an object into a WitResponseNode
Signature
static async Task<WitResponseNode> Meta.WitAi.Json.JsonConvert.SerializeTokenAsync< TFromType >(TFromType inObject, JsonConverter[] customConverters=null, bool suppressWarnings=false) Parameters inObject: TFromType
The object to be serialized into json
suppressWarnings: bool
If true, all warnings will be ignored
Returns async Task< WitResponseNode >
A json WitResponseNode corresponding to the inObject, or null in case of errors
|