mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2026-06-06 08:42:35 +00:00
chore: add tests for material dumpers
This commit is contained in:
@@ -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);
|
||||
}
|
||||
Reference in New Issue
Block a user