summaryrefslogtreecommitdiff
path: root/test_MicroJSON.cc
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2014-08-16 21:25:52 +0100
committerPatrick Simianer <p@simianer.de>2014-08-16 21:25:52 +0100
commit9a0859212de4d1304f9392fe910921227421c8c3 (patch)
tree1b1276312c83415d7d7d3838ce0347441b71951a /test_MicroJSON.cc
parent3ba77e3474e39d7970784812f6851a726572f7c7 (diff)
cleanup
Diffstat (limited to 'test_MicroJSON.cc')
-rw-r--r--test_MicroJSON.cc28
1 files changed, 0 insertions, 28 deletions
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 <iostream>
-#include <fstream>
-#include <string>
-
-/*
- * 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<char>(ifs)),
- (istreambuf_iterator<char>()));
-
- MicroJSON::Node Root;
- Root.Parse(json_str);
- MicroJSON::Node* edges = Root.GetSubNode("edges");
- cerr << edges->GetChildren().back()->GetSubNode("rule") << endl;
-
- return 0;
-}
-