mirror of
				https://github.com/Laupetin/OpenAssetTools.git
				synced 2025-11-03 20:17:09 +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);
 | 
						|
}
 |