https://learn.microsoft.com/en-us/uwp/api/windows.data.json.ijsonvalue.getobject?view=winrt-22621
//windows.h
#define GetObject GetObjectW
IJsonValue jsonValue = ...;
auto jsonObject = jsonValue.GetObject();
error C2039: ‘GetObjectW’: is not a member of ‘winrt::Windows::Data::Json::IJsonValue’
I tried to use the int max = (std::numeric_limits<int>::max)();
trick but still got an GetObjectW
error
auto jsonObject = jsonValue.(winrt::Windows::Data::Json::IJsonValue::GetObject)();
Any ideas?