mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-07-04 02:01:51 +00:00
12 lines
204 B
C++
12 lines
204 B
C++
#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);
|
|
}
|