Popup had a fake invisible padding around it... however it seems we can now use the window now anyway
This commit is contained in:
@@ -38,7 +38,7 @@ public class ConfigurationReader<TConfiguration>(IConfigurationSource<TConfigura
|
||||
{
|
||||
byte[] jsonContent = File.ReadAllBytes(source.Path);
|
||||
|
||||
using JsonDocument jsonDocument = JsonDocument.Parse(jsonContent);
|
||||
using JsonDocument jsonDocument = JsonDocument.Parse(jsonContent);
|
||||
if (jsonDocument.RootElement.TryGetProperty(source.Section, out JsonElement sectionValue))
|
||||
{
|
||||
value = JsonSerializer.Deserialize<TConfiguration>(sectionValue.ToString(), serializerOptions ?? defaultSerializerOptions());
|
||||
|
||||
Reference in New Issue
Block a user