Skip to content

Commit

Permalink
[Refactoring] Fixed compilation issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
joerghartmann committed Aug 29, 2023
1 parent ef09d6a commit 50467c3
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ public class AlarmJsonConverter<T> : BaseJsonConverter<T> where T : Alarm
public override T? Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
{
var instance = (T) Activator.CreateInstance(typeToConvert);
var additionalObjects = new Dictionary<string, object?>();
var instanceProperties = typeToConvert.GetTypeInfo().DeclaredProperties.ToList();
using (var jsonDocument = JsonDocument.ParseValue(ref reader))
{
Expand Down

0 comments on commit 50467c3

Please sign in to comment.