OVSXmlSerializer 1.0.0-beta
See the version list below for details.
dotnet add package OVSXmlSerializer --version 1.0.0-beta
NuGet\Install-Package OVSXmlSerializer -Version 1.0.0-beta
<PackageReference Include="OVSXmlSerializer" Version="1.0.0-beta" />
paket add OVSXmlSerializer --version 1.0.0-beta
#r "nuget: OVSXmlSerializer, 1.0.0-beta"
// Install OVSXmlSerializer as a Cake Addin #addin nuget:?package=OVSXmlSerializer&version=1.0.0-beta&prerelease // Install OVSXmlSerializer as a Cake Tool #tool nuget:?package=OVSXmlSerializer&version=1.0.0-beta&prerelease
Odd's Very Special Xml Serializer
..Or OVSXmlSerializer for short.
This is a specialized Xml Serializer that is mainly designed with use in B1NARY, a visual novel about porn on the internet or whatever idfk not important. This is used as a way to encapsulate and update the module over time when needed, typically as dll file or using the Nuget system.
The system itself works very similar to how the XML serializer works normally,
but is mean't to be worked with the object
or more 'undefined' data that the
ordinary XML serializer have difficulty handling. You can turn this off for more
traditional formatting with the config class, but it does reveal the issue once
again.
This tool is meant to be handled with specific classes within just simply object
parameters. This feature can be turned off and handled normally, but may cause
issues that would not be present.
The wiki serves as Documentation, and this will be reserved on how to use the tool.
Note that this currently does not support XML attributes for the time being.
Explicit Types
The unique function of this XML serializer over others is its explicit type
handling. What this does is that it allows it to reserve its derived types when
considering base types, down to the level of object
. This feature can be turned
on or off.
This feature is enabled by default, but creating XmlSerializerConfig
, this can
be turned off. It will also implicitly convert System.Xml.XmlWriterSettings
to
the config to ensure smooth transtion between systems.
Serializing
Like the default system XML serializer, they pose the same requirements such as:
- Requiring to have a public or private parameterless constructor.
- Having all fields follow the same constraint as above.
There are two serializers, the generic and the non-generic. The non-generic derives from the generic as object for performance reasons, and is created as instances due to configs.
The method returns a MemoryStream
, a stream that can be used for overriding specific
file systems as such, but can be converted to a string if needed by other systems.
Deserializing
Requires the stream or XML file to retrieve the object mentioned by the XML.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net6.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
4.0.0 | 73 | 7/10/2024 |
4.0.0-pre2 | 67 | 6/14/2024 |
4.0.0-pre1 | 57 | 6/14/2024 |
3.0.2 | 157 | 9/27/2023 |
3.0.1 | 116 | 9/25/2023 |
3.0.0 | 124 | 9/23/2023 |
3.0.0-pre2 | 92 | 9/21/2023 |
3.0.0-pre1 | 96 | 9/20/2023 |
2.0.4 | 155 | 5/4/2023 |
2.0.3 | 176 | 4/15/2023 |
2.0.2 | 167 | 4/11/2023 |
2.0.1 | 195 | 4/6/2023 |
2.0.0 | 180 | 4/6/2023 |
1.1.5 | 225 | 3/24/2023 |
1.1.4 | 219 | 3/12/2023 |
1.1.3 | 237 | 3/8/2023 |
1.1.2 | 215 | 3/5/2023 |
1.1.1 | 218 | 3/2/2023 |
1.1.0 | 222 | 2/28/2023 |
1.0.2 | 239 | 2/27/2023 |
1.0.1 | 232 | 2/26/2023 |
1.0.1-beta-5 | 130 | 2/25/2023 |
1.0.1-beta-4 | 125 | 2/25/2023 |
1.0.1-beta-3 | 116 | 2/23/2023 |
1.0.1-beta-2 | 132 | 2/21/2023 |
1.0.1-beta | 206 | 2/20/2023 |
1.0.0-beta | 188 | 2/20/2023 |
Initial Post