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

◆ WriteStringEscape() [5/12]

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

Definition at line 3442 of file Utf8JsonWriter.cs.

3443 {
3444 int num = JsonWriterHelper.NeedsEscaping(value, _options.Encoder);
3445 int num2 = JsonWriterHelper.NeedsEscaping(utf8PropertyName, _options.Encoder);
3446 if (num + num2 != -2)
3447 {
3449 }
3450 else
3451 {
3453 }
3454 }
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.value, System.Text.Json.Utf8JsonWriter.WriteStringByOptions(), and System.Text.Json.Utf8JsonWriter.WriteStringEscapePropertyOrValue().