The following code attempts to map a JObject to a string.
However, the result yields the enum's int value instead of its name.
//...
typeAdapter.EnableJsonMapping();
dynamic model = new JObject();
model.enumValue = DomainEnum.Three;
var result = mapper.Map<string>(model); // { "enumValue": 2 }
Setting up typeAdapter.Default.EnumMappingStrategy(EnumMappingStrategy.ByName) did not change the result
Setting up the default serializer settings to use StringEnumConverter did not change the result
Using the attribute [JsonConverter(typeof(StringEnumConverter))] on the enum did not change the result
The following code attempts to map a JObject to a string. However, the result yields the enum's int value instead of its name.