JsonData¶
GetStringData¶
std::string GetStringData() const
Attempts to return this JsonData's string data.
If this JsonData is not of type STRING, it will throw a JsonWrongDataTypeException.
You can check this via GetDataType().
Aliases¶
Alternative ways to call this function
myJsonData.AsString;std::string str = myJsonData;