void IJsonMember.WriteTo(JsonTextWriter textWriter) { if (this.kind == JsonElement.Null) { textWriter.WriteNull(); } else if (this.value is DateTime) { textWriter.WriteValue(Convert.ToDateTime(this.value, CultureInfo.InvariantCulture)); } else { textWriter.WriteValue(this.value); } }