qb
2.0.0.0
C++17 Actor Framework
|
Specialization of std::hash for qb::jsonb. More...
#include <json.h>
Public Member Functions | |
std::size_t | operator() (const qb::jsonb &j) const noexcept |
Calculates the hash value for a qb::jsonb object. |
Specialization of std::hash for qb::jsonb.
Allows qb::jsonb objects to be used as keys in std::unordered_map and std::unordered_set. The hash is computed based on the string dump of the JSON object.