2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2025-07-04 10:11:53 +00:00

chore: add tests for material dumpers

This commit is contained in:
Jan
2025-06-29 12:41:54 +01:00
parent b3aa6b3dc3
commit 9827218f4a
8 changed files with 1720 additions and 0 deletions

View File

@ -0,0 +1,11 @@
#include "NormalizedJson.h"
#include <nlohmann/json.hpp>
using namespace nlohmann;
std::string JsonNormalized(const std::string& str0)
{
const json j0 = json::parse(str0);
return j0.dump(4);
}