Open juangabreil opened 8 years ago
Just to add more information, the idea should be:
public override void WriteJson(JsonWriter writer, object value, JsonSerializer serializer)
{
var someClass = (SomeClass) value;
var jObject = new JObject {{namingStrategy.GetPropertyName("Text", true/false), literalValue.Value}};
jObject.WriteTo(writer);
}
Hi all,
is it possible to use naming strategy from JsonConverter so that it can be configured?
Thanks in advance.