From 9a0859212de4d1304f9392fe910921227421c8c3 Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Sat, 16 Aug 2014 21:25:52 +0100 Subject: cleanup --- test_MicroJSON.cc | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 test_MicroJSON.cc (limited to 'test_MicroJSON.cc') diff --git a/test_MicroJSON.cc b/test_MicroJSON.cc deleted file mode 100644 index d8d4969..0000000 --- a/test_MicroJSON.cc +++ /dev/null @@ -1,28 +0,0 @@ -#include -#include -#include - -/* - * http://grigory.info/MicroJSON.About.html - * - */ -#include "MicroJSON-0.3.2/Node.h" - -using namespace std; - - -int -main(int argc, char** argv) -{ - ifstream ifs(argv[1]); - string json_str((istreambuf_iterator(ifs)), - (istreambuf_iterator())); - - MicroJSON::Node Root; - Root.Parse(json_str); - MicroJSON::Node* edges = Root.GetSubNode("edges"); - cerr << edges->GetChildren().back()->GetSubNode("rule") << endl; - - return 0; -} - -- cgit v1.2.3