![]() |
HAL
|
Functions | |
std::unordered_map< std::string, std::string > | stringToDictionary (const std::string &json_string) |
std::string | dictionaryToString (const std::unordered_map< std::string, std::string > &key_values) |
std::string hal::JsonConverter::dictionaryToString | ( | const std::unordered_map< std::string, std::string > & | key_values | ) |
Convert key->value map (aka dictionary) to JSON string
key_values | key->value map of std::string |
Definition at line 254 of file json_write_document.cpp.
Referenced by hal::KeyValueTable::toJson().
std::unordered_map< std::string, std::string > hal::JsonConverter::stringToDictionary | ( | const std::string & | json_string | ) |
Convert JSON string to key->value map (aka dictionary)
[in] | json_string | String in JSON format |
Definition at line 239 of file json_write_document.cpp.
Referenced by hal::KeyValueTable::setJson().