diff options
author | Patrick Simianer <p@simianer.de> | 2014-08-16 21:25:52 +0100 |
---|---|---|
committer | Patrick Simianer <p@simianer.de> | 2014-08-16 21:25:52 +0100 |
commit | 9a0859212de4d1304f9392fe910921227421c8c3 (patch) | |
tree | 1b1276312c83415d7d7d3838ce0347441b71951a /test_JsonBox.cc | |
parent | 3ba77e3474e39d7970784812f6851a726572f7c7 (diff) |
cleanup
Diffstat (limited to 'test_JsonBox.cc')
-rw-r--r-- | test_JsonBox.cc | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/test_JsonBox.cc b/test_JsonBox.cc deleted file mode 100644 index e1b22c4..0000000 --- a/test_JsonBox.cc +++ /dev/null @@ -1,24 +0,0 @@ -#include <iostream> -#include <string> - -/* - * https://github.com/anhero/JsonBox - * - */ -#include "JsonBox/include/JsonBox.h" - -using namespace std; - - -int -main(int argc, char** argv) -{ - JsonBox::Value v; - v.loadFromFile(argv[1]); - JsonBox::Value w = v["edges"].getArray().back(); - string s = w["rule"].getString(); - cerr << s.substr(1,4) << endl; - - return 0; -} - |