You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently we just use readJson, but RestEase itself can control this with a runtime JsonSerializer:
var settings = new JsonSerializerSettings()
{
ContractResolver = new CamelCasePropertyNamesContractResolver(),
Converters = { new StringEnumConverter() }
};
var api = new RestClient("https://api.example.com")
{
JsonSerializerSettings = settings
}.For<ISomeApi>();
The text was updated successfully, but these errors were encountered:
Currently we just use
readJson
, but RestEase itself can control this with a runtime JsonSerializer:The text was updated successfully, but these errors were encountered: