if I pass a string just to the method, the VS2019 give error that the usage can't be inferred.
if I write like this
JsonSerializer.Deserialize(text);
JsonSerializer.Deserialize(text.AsSpan());
both are giving the same error. as a string is convertible to the span.
but as mentioned in the Deserialize Documentation, the none generic type should work. but what I'm getting in here is the generic type.
I tried to google but didn't lead to any result.