json/main.cpp
Slendi abb6ce433e
Initial commit
Signed-off-by: Slendi <slendi@socopon.com>
2024-06-18 04:01:33 +03:00

17 lines
254 B
C++

#include "json.hpp"
#include <iostream>
int main(int argc, char *argv[]) {
if (argc < 2) {
std::cout << "No JSON specified" << std::endl;
}
JSONNode root = JSONParseFile(argv[1]);
root.PrettyPrint("", true);
root.Free();
return 0;
}