Beispiel #1
0
 public void Setup() => value = DataGenerator.Generate <T>();
Beispiel #2
0
 public void SerializeJsonNet() => serialized = Newtonsoft.Json.JsonConvert.SerializeObject(DataGenerator.Generate <T>());
Beispiel #3
0
 public void SerializeUtf8Json_() => serialized = Utf8Json.JsonSerializer.ToJsonString(DataGenerator.Generate <T>());
Beispiel #4
0
 public void SetupJil() => serialized = Jil.JSON.Serialize <T>(DataGenerator.Generate <T>(), Jil.Options.ISO8601);