Method GetPayloadAllocationFromJsonAs
GetPayloadAllocationFromJsonAs<TPayload>(bool)
Gets the payload allocation, in JSON, and deserializes it as the given object.
Declaration
Task<TPayload> GetPayloadAllocationFromJsonAs<TPayload>(bool throwOnMissingMembers = false)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | throwOnMissingMembers | Throws an exception if the given class is missing a member. |
Returns
| Type | Description |
|---|---|
| Task<TPayload> | An object representing the payload allocation. |
Type Parameters
| Name | Description |
|---|---|
| TPayload | The object to be deserialized as. |