Add json facilities for DataStream websocket api

This commit is contained in:
John Colvin committed 2024-07-09 15:03:30 -04:00
1 parent 123f12ab88
commit 827189cdb4
7 files changed
+440 -92

No files matched your search

@@ -1,4 +1,5 @@
using System;
using System.Text.Json.Serialization;
namespace BCG {
/// <summary>
@@ -56,9 +57,16 @@ namespace BCG {
private Type myColType;
private object myColValue;
[JsonPropertyName("colNo")]
public int colNo { get { return myColNo; } }
[JsonPropertyName("colName")]
public string colName { get { return myColName; } }
[JsonPropertyName("colType")]
public Type colType { get { return myColType; } }
[JsonIgnore]
public object colValue {get{return myColValue;}}
}
}