Parsing JSON Object and assigning as class member?
I am parsing a JSON document with QJsonDocument::fromJson() and need to assign the resulting value as a member of the class, such that it can be reference later on. What is the right way to do this, such that I don't create a segmentation fault?
I am very rusty with C++ and a newbie with Qt.
What part of the json would you like to get into your class ?