mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-06 11:39:49 -06:00
Feature/meta identifier list (#1357)
Updating asset.meta.identifiers to be dictionary/list instead of string
This commit is contained in:
@@ -102,6 +102,16 @@ private:
|
||||
*/
|
||||
std::string escapedJson(const std::string& text);
|
||||
|
||||
|
||||
/**
|
||||
* This function takes a \p list of text and escapes all necessary characters () that JSON
|
||||
* does not want in its strings.
|
||||
* \param text The list text that is to be escaped
|
||||
* \return The same text will all required characteres escaped
|
||||
*/
|
||||
std::string escapedJson(const std::vector<std::string>& list);
|
||||
|
||||
|
||||
} // namespace openspace
|
||||
|
||||
#endif // __OPENSPACE_CORE___DOCUMENTATIONGENERATOR___H__
|
||||
|
||||
@@ -56,7 +56,7 @@ public:
|
||||
std::string author;
|
||||
std::string url;
|
||||
std::string license;
|
||||
std::string identifiers;
|
||||
std::vector<std::string> identifiers;
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user