Feature/meta identifier list (#1357)

Updating asset.meta.identifiers to be dictionary/list instead of string
This commit is contained in:
Micah Acinapura
2020-10-28 09:25:34 -04:00
committed by GitHub
parent d7f799da63
commit cc7c0092a3
165 changed files with 225 additions and 171 deletions

View File

@@ -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__

View File

@@ -56,7 +56,7 @@ public:
std::string author;
std::string url;
std::string license;
std::string identifiers;
std::vector<std::string> identifiers;
};
/**