<PackageReference Include="Newtonsoft.Json" Version="8.0.3" />

StringEnumConverter

Converts an Enum to and from its name string value.
public bool AllowIntegerValues { get; set; }

Gets or sets a value indicating whether integer values are allowed.

public bool CamelCaseText { get; set; }

Gets or sets a value indicating whether the written enum text should be camel case.

Initializes a new instance of the StringEnumConverter class.

public StringEnumConverter(bool camelCaseText)

Initializes a new instance of the StringEnumConverter class.