From 9a0859212de4d1304f9392fe910921227421c8c3 Mon Sep 17 00:00:00 2001
From: Patrick Simianer
Date: Sat, 16 Aug 2014 21:25:52 +0100
Subject: cleanup
---
test_picojson.cc | 32 --------------------------------
1 file changed, 32 deletions(-)
delete mode 100644 test_picojson.cc
(limited to 'test_picojson.cc')
diff --git a/test_picojson.cc b/test_picojson.cc
deleted file mode 100644
index cf3b621..0000000
--- a/test_picojson.cc
+++ /dev/null
@@ -1,32 +0,0 @@
-#include
-#include
-#include
-#include
-
-/*
- * https://github.com/kazuho/picojson
- *
- */
-#include "picojson/picojson.h"
-
-using namespace std;
-
-
-int
-main(int argc, char** argv)
-{
- ifstream ifs(argv[1]);
- string json_str((istreambuf_iterator(ifs)),
- (istreambuf_iterator()));
-
- picojson::value v;
- istringstream iss(json_str);
- picojson::parse(v, iss);
- picojson::value::object& obj = v.get();
- picojson::value::object& last_edge = obj["edges"].get().back().get();
- string s(last_edge["rule"].get());
- cerr << s.substr(1, 4) << endl;
-
- return 0;
-}
-
--
cgit v1.2.3