Consider the following example:

The JSON command getstatus returns values like Devices->device_type->Device_API which is an integer. I could use Newtonsoft to deserialize the JSON response to a custom class that includes an INTEGER "int Device_API" property. However, I would like this property to be mapped to the type eDeviceAPI as defined in the HS SDK.

Does HS offer some kind of mapping function that takes JSON responses and maps them to the classes/enums/etc in the HS SDK?