summaryrefslogtreecommitdiffstats
path: root/src/JsonUtils.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/JsonUtils.h')
-rw-r--r--src/JsonUtils.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/JsonUtils.h b/src/JsonUtils.h
new file mode 100644
index 000000000..d315dbed8
--- /dev/null
+++ b/src/JsonUtils.h
@@ -0,0 +1,17 @@
+#pragma once
+
+// fwd:
+namespace Json
+{
+class Value;
+}
+
+namespace JsonUtils
+{
+
+AString WriteFastString(const Json::Value & a_Root);
+AString WriteStyledString(const Json::Value & a_Root);
+
+bool ParseString(const AString & a_JsonStr, Json::Value & a_Root, AString * a_ErrorMsg = nullptr);
+
+}