T ReadJson( string filename, T defaultValue )

Summary

Read Json from a file using System.Text.Json.JsonSerializer. This will throw exceptions if not valid json.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.