jgiacomini / Tiny.RestClient

Simpliest Fluent REST client for .NET
MIT License
210 stars 30 forks source link

Features/snakecase #55

Closed jgiacomini closed 6 years ago

jgiacomini commented 6 years ago

Related to #45

Add support of :

jgiacomini commented 6 years ago

Here a sample of how to use it :

// Enable KebabCase
  client.Settings.Formatters.OfType<JsonFormatter>().First().UseKebabCase();
// Enable CamelCase
  client.Settings.Formatters.OfType<JsonFormatter>().First().UseCamelCase();
// Enable SnakeCase
  client.Settings.Formatters.OfType<JsonFormatter>().First().UseSkakeCase();