Пример #1
0
 static void Main(String[] args)
 {
     var outputDir = @"output";
     var jsonStr   = File.ReadAllText(@"example.json");
     var converter = new JsonToCsvConverter();
     var csvStr    = converter.Convert(jsonStr);
 }
Пример #2
0
        public static string ToCsv(this object o)
        {
            //todo
            var converter = new JsonToCsvConverter();

            return(converter.Convert(o.ToJson()));
        }