Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ WriteString() [28/28]

void System.Text.Json.Utf8JsonWriter.WriteString ( string propertyName,
string? value )
inline

Definition at line 3166 of file Utf8JsonWriter.cs.

3167 {
3168 if (propertyName == null)
3169 {
3170 throw new ArgumentNullException("propertyName");
3171 }
3172 if (value == null)
3173 {
3174 WriteNull(propertyName.AsSpan());
3175 }
3176 else
3177 {
3178 WriteString(propertyName.AsSpan(), value.AsSpan());
3179 }
3180 }
void WriteString(JsonEncodedText propertyName, DateTime value)
void WriteNull(JsonEncodedText propertyName)

References System.Text.Json.Dictionary, System.value, System.Text.Json.Utf8JsonWriter.WriteNull(), and System.Text.Json.Utf8JsonWriter.WriteString().