- Added a constructor overload for
SettingsBase
that accepts an instance ofJsonSerializerOptions
. Among other things, this lets you provide a customIJsonTypeInfoResolver
for compile-time serialization.
- Fixed an issue where calling
Save()
would leave behind a corrupted file if the underlying serialization process failed. This was most often evident in the form of cryptic parsing-related exceptions on subsequent calls toLoad()
. Now,Save()
will not create a file if an error occurs during serialization.
- Improved support for older target frameworks via polyfills.
- Fixed an issue where custom converters specified by the
[JsonConverter]
were not being used.
- Reworked and renamed the library.