Skip to content

Commit 452159e

Browse files
mrodbratschiBeta Bot
authored andcommitted
Cherry pick branch 'genexuslabs:fix/log-bad-numbers-serialization' into beta
1 parent 6281337 commit 452159e

File tree

1 file changed

+5
-4
lines changed
  • dotnet/src/extensions/gam/src/DotNetFramework/GamUtils/Utils

1 file changed

+5
-4
lines changed

dotnet/src/extensions/gam/src/DotNetFramework/GamUtils/Utils/Dictionary.cs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
using System.Collections.Generic;
21
using System.Collections;
2+
using System.Collections.Generic;
3+
using GeneXus.Utils;
34
using Newtonsoft.Json;
45
using Newtonsoft.Json.Linq;
5-
using GeneXus.Utils;
66

77
namespace GamUtils.Utils
88
{
@@ -55,8 +55,9 @@ private void ObjectToMap(string key, object value)
5555
{
5656
userMap[key] = null;
5757
}
58-
else if (value is IDictionary || value is IList || value is bool || value is int ||
59-
value is long || value is float || value is double || value is decimal)
58+
else if (value is IDictionary || value is IList || value is bool || value is short ||
59+
value is int || value is long || value is float || value is double ||
60+
value is decimal)
6061
{
6162
userMap[key] = value;
6263
}

0 commit comments

Comments
 (0)