Fix json key automatic ordering error when creating Score from json

This commit is contained in:
2024-05-12 18:23:48 +02:00
parent 07a2efb298
commit ebaddf1a6c
23 changed files with 81 additions and 43 deletions

View File

@@ -6,7 +6,7 @@
#include <nlohmann/json.hpp>
namespace platform {
using json = nlohmann::json;
using json = nlohmann::ordered_json;
const std::string ALL_DATASETS = "all";
class GridData {
public:

View File

@@ -10,7 +10,7 @@
#include "GridData.h"
namespace platform {
using json = nlohmann::json;
using json = nlohmann::ordered_json;
struct ConfigGrid {
std::string model;
std::string score;