mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-04-13 20:47:24 +00:00
Whitespace
This commit is contained in:
parent
87fb9e5e0d
commit
5317e3a834
2 changed files with 6 additions and 6 deletions
|
|
@ -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();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue