F.E.I.S/src/better_hakus.cpp
2022-03-31 03:50:15 +02:00

11 lines
264 B
C++

#include "better_hakus.hpp"
#include "better_beats.hpp"
nlohmann::ordered_json dump_hakus(const Hakus& hakus) {
auto j = nlohmann::ordered_json::array();
for (const auto& haku : hakus) {
j.push_back(beat_to_best_form(haku));
}
return j;
}