Esempio n. 1
0
 internal void WriteJson(Utf8JsonWriter writer)
 {
     writer.WriteStartObject();
     writer.WriteString("currency", CurrencyCode.ToString());
     if (Issuer.HasValue)
     {
         writer.WriteString("issuer", Issuer.Value.ToString());
     }
     writer.WriteEndObject();
 }
Esempio n. 2
0
 public void WriteJson(Utf8JsonWriter writer)
 {
     writer.WriteStartObject();
     writer.WriteString("currency", CurrencyCode.ToString());
     writer.WriteString("issuer", Issuer.ToString());
     writer.WriteString("value", Value.ToString());
     writer.WriteEndObject();
 }