aboutsummaryrefslogtreecommitdiff
path: root/src/json_spirit_wrapper.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/json_spirit_wrapper.h')
-rw-r--r--src/json_spirit_wrapper.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/json_spirit_wrapper.h b/src/json_spirit_wrapper.h
new file mode 100644
index 0000000000..1962cf6431
--- /dev/null
+++ b/src/json_spirit_wrapper.h
@@ -0,0 +1,17 @@
+#ifndef __JSON_SPIRIT_WRAPPER_H__
+#define __JSON_SPIRIT_WRAPPER_H__
+
+#include "univalue/univalue.h"
+
+namespace json_spirit {
+
+typedef UniValue Value;
+typedef UniValue Array;
+typedef UniValue Object;
+typedef UniValue::VType Value_type;
+
+}
+
+#define find_value(val,key) (val[key])
+
+#endif // __JSON_SPIRIT_WRAPPER_H__