aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/DataStore/Tango.DataStore
diff options
context:
space:
mode:
authorRoy Ben Shabat <Roy.mail.net@gmail.com>2020-11-16 14:35:19 +0200
committerRoy Ben Shabat <Roy.mail.net@gmail.com>2020-11-16 14:35:19 +0200
commit0ee81ef847af3702b3b37f94cc62e835f9294e55 (patch)
treee3cc6daea355c8cc7a5dbf48f5e0c594230d90fb /Software/Visual_Studio/DataStore/Tango.DataStore
parent76b22e4d05cbd8d771f678e4b5adc2dc5159afa8 (diff)
downloadTango-0ee81ef847af3702b3b37f94cc62e835f9294e55.tar.gz
Tango-0ee81ef847af3702b3b37f94cc62e835f9294e55.zip
Working on DataStore WebAPI & CLI.
Diffstat (limited to 'Software/Visual_Studio/DataStore/Tango.DataStore')
-rw-r--r--Software/Visual_Studio/DataStore/Tango.DataStore/DataStoreProtoObject.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/Software/Visual_Studio/DataStore/Tango.DataStore/DataStoreProtoObject.cs b/Software/Visual_Studio/DataStore/Tango.DataStore/DataStoreProtoObject.cs
index 5aa7c5342..1a9dd324d 100644
--- a/Software/Visual_Studio/DataStore/Tango.DataStore/DataStoreProtoObject.cs
+++ b/Software/Visual_Studio/DataStore/Tango.DataStore/DataStoreProtoObject.cs
@@ -1,5 +1,6 @@
using Google.Protobuf;
using Newtonsoft.Json;
+using Newtonsoft.Json.Converters;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
@@ -17,6 +18,7 @@ namespace Tango.DataStore
{
public class DataStoreProtoObject
{
+ [JsonConverter(typeof(StringEnumConverter))]
public MessageType MessageType { get; set; }
public Type Type { get; set; }
public byte[] Data { get; set; }