nlohmann::json subscriber;
subscriber["Name"] = &callerName;
subscriber["SubscribeTopic"] = topicToSubscribe;
subscriber["CallBackTopic"] = callBackTopic;
and
nlohmann::json subscriber = {
{ "Name", &callerName },
{ "SubscribeTopic", &topicToSubscribe },
{ "CallBackTopic", &callBackTopic },
};
Both cause the error
Vs 2017, latest release
I seem to be unable to create json object, I've read through documentation like 20 times and there is nothing else that has been mentioned about it.
and
Both cause the error
Vs 2017, latest release
I seem to be unable to create json object, I've read through documentation like 20 times and there is nothing else that has been mentioned about it.