SharpSerializer
SharpSerializer copied to clipboard
SharpSerializer was ported from CodePlex. SharpSerializer v.3 and above is an open source XML and binary serializer for .NET Framework 4.5.2+ and .NET Standard 1.0+
When I try to deserialize a complex object I'm getting the following error: No parameterless constructor defined for this object. I obviously have a class somewhere without a parameterless constructor,...
I try to reproduce this exception, and found that the array is the problem. Here what cause the problem. ``` public class Program { public static void Main() { Test...
Why did the test project fail 10?
Can this serializer be used with ASP.NET? `AddXmlSerializerFormatters` adds XML formatters based on `XmlSerializer`, but it can't handle serialisation of dictionaries, so I'm looking to use a more capable XML...
```cs SharpSerializer sharpSerializer = new SharpSerializer(true); using (FileStream stream = new FileStream(@"E:\JetBrains Workspace\RiderProjects\ss_c\pro.bin", FileMode.Open, FileAccess.Read)) { var objs = sharpSerializer.Deserialize(stream); } ``` The code is as above. I reported an...
Hi I've tried using the nuget, but there is some weird behavior with collections. So I downloaded the code, there I found two issues: 1. The```return true``` in line 175...
Hi There is a problem with TypeExtensions.GetPublicInstanceProperties(). it get's also all static and nonpublic properties. A short blink into ILSpy I saw that GetRuntimeProperties() will call GetProperties(BindingFlags.Instance | BindingFlags.Static |...
Hi First of all, thank you sharing your fantastic code with the community. it saved me HOURS of developing an own solution! I had some problems serializing between a .Net4.8...
Note: This issue seems to already be reported in previous issues but the exact case and cause where not provided. **Bug description** When using SharpSerializer NuGet package in a project...
There are no settings to ignore attributes/properties from deserialization. The settings: `SharpSerializerSettings.AdvancedSettings.AttributesToIgnore` `SharpSerializerSettings.AdvancedSettings.PropertiesToIgnore` Are only used to ignore from serialization, not from deserialization. It would be nice if there was...