public void WriteObject(Boo value) { var jsonValue = value == null ? JsonValue.Null : _converter.WriteObject(value); jsonValue.Serialize().Should().Be(JsonConvert.SerializeObject(value)); }
public void WriteObject(int value) { var jsonValue = (JsonValue)_converter.WriteObject(value); jsonValue.Serialize().Should().Be(JsonConvert.SerializeObject(value)); }
public void WriteObject(Boo[] array) { var jsonArray = _converter.WriteObject(array); jsonArray.Serialize().Should().Be(JsonConvert.SerializeObject(array)); }
public void WriteObject(DependencyLifetime value) { var jsonValue = (JsonValue)_converter.WriteObject(value); jsonValue.Serialize().Should().Be(JsonConvert.SerializeObject(value)); }