private static object FormatAsJson(IProvideExamples provider) { var examples = new Dictionary <string, object>() { { "application/json", provider.GetExamples() } }; return(ConvertToCamelCase(examples)); }
private static object FormatAsJson(IProvideExamples provider) { return(JsonConvert.SerializeObject(provider.GetExamples())); }