Terraria v1.4.4.9
Terraria source code documentation
All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Events Macros

◆ WriteStringEscape() [10/12]

void System.Text.Json.Utf8JsonWriter.WriteStringEscape ( ReadOnlySpan< char > propertyName,
ReadOnlySpan< byte > utf8Value )
inlineprivate

Definition at line 3428 of file Utf8JsonWriter.cs.

3429 {
3430 int num = JsonWriterHelper.NeedsEscaping(utf8Value, _options.Encoder);
3431 int num2 = JsonWriterHelper.NeedsEscaping(propertyName, _options.Encoder);
3432 if (num + num2 != -2)
3433 {
3435 }
3436 else
3437 {
3439 }
3440 }
void WriteStringByOptions(ReadOnlySpan< char > propertyName, DateTime value)
unsafe void WriteStringEscapePropertyOrValue(ReadOnlySpan< char > propertyName, ReadOnlySpan< char > value, int firstEscapeIndexProp, int firstEscapeIndexVal)

References System.Text.Json.Utf8JsonWriter._options, System.Text.Json.Dictionary, System.Text.Json.JsonWriterOptions.Encoder, System.Text.Json.JsonWriterHelper.NeedsEscaping(), System.Text.Json.Utf8JsonWriter.WriteStringByOptions(), and System.Text.Json.Utf8JsonWriter.WriteStringEscapePropertyOrValue().