diff options
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; -} - |