summaryrefslogtreecommitdiffstats
path: root/src/JsonUtils.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/JsonUtils.h')
-rw-r--r--src/JsonUtils.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/JsonUtils.h b/src/JsonUtils.h
index d315dbed8..fc35e9f0a 100644
--- a/src/JsonUtils.h
+++ b/src/JsonUtils.h
@@ -14,4 +14,7 @@ AString WriteStyledString(const Json::Value & a_Root);
bool ParseString(const AString & a_JsonStr, Json::Value & a_Root, AString * a_ErrorMsg = nullptr);
+/** Creates a Json string representing an object with the specified single value. */
+extern AString SerializeSingleValueJsonObject(const AString & a_Key, const AString & a_Value);
+
}