Skip to content

mr54ndm4n/Groot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

I am Groot

Build Status codecov

https://www.nuget.org/packages/Groot/1.0.0#

Just a CSV Util Package! keep it simple, let's groot do it for you!

Features

Input Examples (CSV Format)

  name, tree_height
  groot, 36.468
  another_groot, 24.128
  more_groot, 24.35
  • Csv file to List of Key-Value (string, string) Dictionary
  var iamGroots = Groot.GetDictFromCsv(path);
  
  Console.WriteLine($"Groot's height is {iamGroots[0]["height"]}");
  • Csv file to List of Objects
  #Tree
  public class Tree
  {
        [GrootField("name")]
        public string name { get; set; }
        
        [GrootField("tree_height")]
        public decimal Height { get; set; }
  }
  
  //GrootField is the header column in csv files
  
  var iamGroots = Groot.GetObjectFromCsv<Tree>(path);
  Console.WriteLine($"Groot's height is {iamGroots[0].height}");
  

About

Just a CSV Util Package! keep it simple, let's groot do it for you!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages