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

@@ -9,7 +9,7 @@
#include "main/PartialResult.h"
namespace platform {
using json = nlohmann::json;
using json = nlohmann::ordered_json;
class Result {
public:

View File

@@ -5,7 +5,7 @@
#include <nlohmann/json.hpp>
#include "results/Result.h"
namespace platform {
using json = nlohmann::json;
using json = nlohmann::ordered_json;
class ResultsDataset {
public:
ResultsDataset(const std::string& dataset, const std::string& model, const std::string& score);

View File

@@ -3,7 +3,7 @@
#include <nlohmann/json.hpp>
#include "reports/ExcelFile.h"
using json = nlohmann::json;
using json = nlohmann::ordered_json;
namespace platform {