diff --git a/ICD.Common.Utils/Json/JsonUtils.cs b/ICD.Common.Utils/Json/JsonUtils.cs
index 4b49dfe..539ddfb 100644
--- a/ICD.Common.Utils/Json/JsonUtils.cs
+++ b/ICD.Common.Utils/Json/JsonUtils.cs
@@ -90,6 +90,19 @@ namespace ICD.Common.Utils.Json
///
[PublicAPI]
public static void Print(string json)
+ {
+ var sb = Format(json);
+
+ IcdConsole.PrintLine(sb.ToString());
+ }
+
+ ///
+ /// Formats the JSON into a human-readable form.
+ ///
+ ///
+ ///
+ [PublicAPI]
+ public static string Format(string json)
{
int indent = 0;
bool quoted = false;
@@ -145,8 +158,7 @@ namespace ICD.Common.Utils.Json
break;
}
}
-
- IcdConsole.PrintLine(sb.ToString());
+ return sb.ToString();
}
///