Method HSMessage.Json(+ 1 overload)
Overload
JSON-deserializes HSMessage.Content to object of type T.
public T Json<T>()
Returns
T
|
Exceptions
Exception
Exceptions of System.Text.Json.JsonSerializer.Deserialize<TValue>. |
Type Parameters
T |
Overload(top)
JSON-deserializes HSMessage.Content to object of specified type.
public object Json(Type type)
Parameters
type (Type) |
Returns
object
|
Exceptions
Exception
Exceptions of System.Text.Json.JsonSerializer.Deserialize. |