JsonLD.Entities
JsonLD.Entities copied to clipboard
JsonSerializer private in EntitySerializer
Hi,
I would like to add some custom JsonConverters to the jsonSerializer, because my entities have types that cannot be converted to json with the default jsonconverters. Is it possible to make the JsonSerializer public in EntitySerializer? Or is there another way to add converters to the serializer?
Actually there was a point when I considered that. In the end I didn't need that though and always use the attribute
public class MyEntity
{
[JsonConverter(typeof(MyConverter))]
public CustomValue MyProperty { get; set; }
}
Is this something you can do in your code?
Ah, and I think that you place that attribute on a class too