Answer the question
In order to leave comments, you need to log in
What is wrong with JSON Deserialization?
Good evening, when deserializing a json file
{
"nick": "Test_Name",
"money": 666,
"lvl": 22,
}
var text = File.ReadAllText([email protected]"{path}\accs\Test_Name.json");
var result = JsonSerializer.Deserialize<AFormat>(text);
MessageBox.Show(result.nick);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question