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

JsonConvert Class

Class for decoding

Public Statics

static JsonConverter [] DefaultConverters[Get]

Static Member Functions

Safely parse a string into a json node
Parameters
jsonString
Json parseable string
Returns
Returns json node for easy decoding
Safely parse a string into a json node async
Parameters
jsonString
Json parseable string
Generate a default instance, deserialize and return
Generate a default instance, deserialize and return async
Generate a default instance, deserialize and return
Generate a default instance, deserialize and return async
Deserialize json string into an existing instance
Deserialize json string into an existing instance async
Deserialize json string into an existing instance
Deserialize json string into an existing instance async
Deserialize a specific array
Parameters
node
oldValue
log
Others
NODE_TYPE
Returns
Serializes an object into a json string
Parameters
inObject
The object to be serialized into json
customConverters
Custom json conversion interfaces
suppressWarnings
If true, all warnings will be ignored
Others
TFromType
The type of object to be decoded
Returns
A json string corresponding to the inObject
Serializes an object into a json string asynchronously
Parameters
inObject
The object to be serialized into json
customConverters
Custom json conversion interfaces
suppressWarnings
If true, all warnings will be ignored
Others
TFromType
The type of object to be decoded
Returns
A string after waiting for the serialization
Serializes an object into a WitResponseNode
Parameters
inObject
The object to be serialized into json
customConverters
Custom json conversion interfaces
suppressWarnings
If true, all warnings will be ignored
Others
TFromType
The type of object to be decoded
Returns
A json WitResponseNode corresponding to the inObject, or null in case of errors
Serializes an object into a WitResponseNode
Parameters
inObject
The object to be serialized into json
customConverters
Custom json conversion interfaces
suppressWarnings
If true, all warnings will be ignored
Others
TFromType
The type of object to be decoded
Returns
A json WitResponseNode corresponding to the inObject, or null in case of errors
Did you find this page helpful?
Thumbs up icon
Thumbs down icon