Esempio n. 1
0
 public static async Task <string> ToJsonAsync(this ISourceNode source, FhirJsonSerializationSettings settings = null)
 => await SerializationUtil.WriteJsonToStringAsync(async writer => await source.WriteToAsync(writer, settings).ConfigureAwait(false), settings?.Pretty ?? false, settings?.AppendNewLine ?? false).ConfigureAwait(false);