mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-02-16 13:15:07 +00:00
Whitespace
This commit is contained in:
@@ -3,8 +3,8 @@
|
|||||||
namespace ICD.Common.Utils.Tests.Json
|
namespace ICD.Common.Utils.Tests.Json
|
||||||
{
|
{
|
||||||
[TestFixture]
|
[TestFixture]
|
||||||
public sealed class JsonUtilsTest
|
public sealed class JsonUtilsTest
|
||||||
{
|
{
|
||||||
[Test]
|
[Test]
|
||||||
public void CacheTypeTest()
|
public void CacheTypeTest()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ namespace ICD.Common.Utils.Json
|
|||||||
private const string DATE_FORMAT = @"yyyy-MM-dd\THH:mm:ss";
|
private const string DATE_FORMAT = @"yyyy-MM-dd\THH:mm:ss";
|
||||||
|
|
||||||
private const string MESSAGE_NAME_PROPERTY = "m";
|
private const string MESSAGE_NAME_PROPERTY = "m";
|
||||||
private const string MESSAGE_DATA_PROPERTY = "d";
|
private const string MESSAGE_DATA_PROPERTY = "d";
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Forces Newtonsoft to cache the given type for faster subsequent usage.
|
/// Forces Newtonsoft to cache the given type for faster subsequent usage.
|
||||||
@@ -197,10 +197,10 @@ namespace ICD.Common.Utils.Json
|
|||||||
{
|
{
|
||||||
w.WriteStartObject();
|
w.WriteStartObject();
|
||||||
{
|
{
|
||||||
w.WritePropertyName(MESSAGE_NAME_PROPERTY);
|
w.WritePropertyName(MESSAGE_NAME_PROPERTY);
|
||||||
w.WriteValue(messageName);
|
w.WriteValue(messageName);
|
||||||
|
|
||||||
w.WritePropertyName(MESSAGE_DATA_PROPERTY);
|
w.WritePropertyName(MESSAGE_DATA_PROPERTY);
|
||||||
serializeMethod(w);
|
serializeMethod(w);
|
||||||
}
|
}
|
||||||
w.WriteEndObject();
|
w.WriteEndObject();
|
||||||
|
|||||||
Reference in New Issue
Block a user