C Sharp (C#) - File IO
Identify the error in this code snippet:
using System.Text.Json;
string json = File.ReadAllText("data.json");
var person = JsonSerializer.Deserialize(json);