Function npy::pyparse::parse_dict

Function Documentation

inline std::unordered_map<std::string, std::string> npy::pyparse::parse_dict(std::string in, const std::vector<std::string> &keys)

Parses the string representation of a Python dict The keys need to be known and may not appear anywhere else in the data.