Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
abhipsaMisra committed Jun 4, 2021
1 parent 41c3271 commit 21eb12f
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,7 @@ public override string SerializeToString(object objectToSerialize)
/// <inheritdoc/>
public override T DeserializeToType<T>(string stringToDeserialize)
{
var jsonOptions = new JsonSerializerOptions();
jsonOptions.Converters.Add(new ObjectToInferredTypesConverter());
return JsonSerializer.Deserialize<T>(stringToDeserialize, jsonOptions);
return JsonSerializer.Deserialize<T>(stringToDeserialize);
}

/// <inheritdoc/>
Expand Down

0 comments on commit 21eb12f

Please sign in to comment.