Can't you do this?
```C++
 this->m_device = UDevice::Deserialize(json::Deserialize(data));
```