<code> var item = new item { Name = "my name", City = "my city", Pw = "my pw" };
var json = @"
{
""Name"":""John"",
""City"":""NYC""
}";
JsonConvert.PopulateObject(json, item); //Instead of this i have to use system.text.json
</code>
<code> var item = new item { Name = "my name", City = "my city", Pw = "my pw" };
var json = @"
{
""Name"":""John"",
""City"":""NYC""
}";
JsonConvert.PopulateObject(json, item); //Instead of this i have to use system.text.json
</code>
var item = new item { Name = "my name", City = "my city", Pw = "my pw" };
var json = @"
{
""Name"":""John"",
""City"":""NYC""
}";
JsonConvert.PopulateObject(json, item); //Instead of this i have to use system.text.json
New contributor
pravin rasal is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.