This commit is contained in:
@@ -2,6 +2,7 @@ using System;
|
||||
using System.Reflection;
|
||||
using System.Linq;
|
||||
using System.Collections.Generic;
|
||||
using Newtonsoft.Json.Linq;
|
||||
|
||||
namespace AyaNova.Util
|
||||
{
|
||||
@@ -58,8 +59,12 @@ namespace AyaNova.Util
|
||||
|
||||
public static string GetImportTag()
|
||||
{
|
||||
return "z-import-" + DateTime.Now.ToString("yyyyMMddHHmmss");
|
||||
return "zz-import-" + DateTime.Now.ToString("yyyyMMddHHmmss");
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}//eoc
|
||||
|
||||
}//eons
|
||||
@@ -75,9 +75,11 @@ namespace AyaNova.Util
|
||||
(token.Type == JTokenType.Array && !token.HasValues) ||
|
||||
(token.Type == JTokenType.Object && !token.HasValues) ||
|
||||
(token.Type == JTokenType.String && token.ToString() == String.Empty) ||
|
||||
(token.Type == JTokenType.Null);
|
||||
(token.Type == JTokenType.Null) ||
|
||||
(token.Type == JTokenType.Undefined);
|
||||
}
|
||||
|
||||
|
||||
//Contract resolver used for exporting to file translations and report templates
|
||||
//and ignoring specified propertes
|
||||
public class ShouldSerializeContractResolver : DefaultContractResolver
|
||||
|
||||
Reference in New Issue
Block a user