static void Main(string[] args) { var convert = new JsonSrcGenConvert(); var json = convert.ToJson(new SimpleClass() { Age = 24, Height = 65.5f, Name = "Bilbo Baggins" }); Console.WriteLine(json); }
public SimpleClassFromJsonBenchmark() { _jsonSrcGenConvert = new JsonSrcGenConvert(); }