Closed bryanjhogan closed 6 years ago
Hi, could you provide the class structure you are trying to serialize?
Thanks,
I am testing multiple serializers, my model has had no problem with Jil, MessagePack, MsgPack.Cli, Newtonsoft.Json, protobuf-net, Utf8Json.
This is a simplification, but close enough.
public partial class Person
{
public int PersonId { get; set; }
public string Firstname { get; set; }
public string Lastname { get; set; }
public DateTime DateOfBirth { get; set; }
public byte[] HashValue { get; set; }
}
This is a simple model indeed. Using it with .net framework works fine. I would look into the reason why it is showing access denied exception. It should not do that.
Thanks,
I fixed it and pushed the changes to 1.2.7 nuget package. Please test and let me know if you find any other issues.
Thanks,
Thanks. Will test and let you know.
I am using NetJSON 1.2.6 in a .NET Core 2.1 console application.
I get the below error when executing this -
var json = NetJSON.NetJSON.Serialize(_items);