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

JsonConverter Class

Overview

Properties

bool
CanRead[Get]
Whether this script overrides read
bool
Whether this script overrides write

Public Member Functions

abstract bool
CanConvert
( Type objectType )
Whether this type can convert the specified type
object
ReadJson
( WitResponseNode serializer,
Type objectType,
object existingValue )
Converts serialized token into desired value
WriteJson
( object existingValue )
Returns json token from existing value

Details

Properties

virtual bool Meta.WitAi.Json.JsonConverter.CanRead
Whether this script overrides read
virtual bool Meta.WitAi.Json.JsonConverter.CanWrite
Whether this script overrides write

Member Functions

abstract bool Meta.WitAi.Json.JsonConverter.CanConvert
( Type objectType )
Whether this type can convert the specified type
virtual object Meta.WitAi.Json.JsonConverter.ReadJson
( WitResponseNode serializer,
Type objectType,
object existingValue )
Converts serialized token into desired value
Parameters
serializerobjectTypeexistingValue
Returns
virtual WitResponseNode Meta.WitAi.Json.JsonConverter.WriteJson
( object existingValue )
Returns json token from existing value
Parameters
deserializerexistingValue
Did you find this page helpful?
Thumbs up icon
Thumbs down icon