wip
This commit is contained in:
parent
ada954cd8d
commit
2a3f539bb2
@ -31,12 +31,12 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||||||
#ifndef JSON_CONTAINER_HPP
|
#ifndef JSON_CONTAINER_HPP
|
||||||
#define JSON_CONTAINER_HPP
|
#define JSON_CONTAINER_HPP
|
||||||
|
|
||||||
|
#include <ankerl/unordered_dense.h>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <unordered_map>
|
#include <unordered_map>
|
||||||
#include <utility>
|
#include <utility>
|
||||||
#include <variant>
|
#include <variant>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
namespace osrm::util::json
|
namespace osrm::util::json
|
||||||
{
|
{
|
||||||
|
|
||||||
@ -104,7 +104,8 @@ using Value = std::variant<String, Number, Object, Array, True, False, Null>;
|
|||||||
*/
|
*/
|
||||||
struct Object
|
struct Object
|
||||||
{
|
{
|
||||||
std::unordered_map<std::string, Value> values;
|
ankerl::unordered_dense::map<std::string, Value> values;
|
||||||
|
// std::unordered_map<std::string, Value> values;
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user