diff --git a/ICD.Common.Utils/Json/JsonUtils.cs b/ICD.Common.Utils/Json/JsonUtils.cs
index 059d631..870bc56 100644
--- a/ICD.Common.Utils/Json/JsonUtils.cs
+++ b/ICD.Common.Utils/Json/JsonUtils.cs
@@ -187,6 +187,22 @@ namespace ICD.Common.Utils.Json
}
}
+ ///
+ /// Serializes to json, wrapping the object with a message property to differentiate between messages.
+ /// E.g.
+ /// { a = 1 }
+ /// Becomes
+ /// { m = "Test", d = { a = 1 } }
+ ///
+ ///
+ ///
+ ///
+ [PublicAPI]
+ public static string SerializeMessage(object value, string messageName)
+ {
+ return SerializeMessage(w => new JsonSerializer().Serialize(w, value), messageName);
+ }
+
///
/// Serializes to json, wrapping the object with a message property to differentiate between messages.
/// E.g.