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

◆ WriteLiteralEscape() [1/2]

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

Definition at line 2445 of file Utf8JsonWriter.cs.

2446 {
2447 int num = JsonWriterHelper.NeedsEscaping(utf8PropertyName, _options.Encoder);
2448 if (num != -1)
2449 {
2451 }
2452 else
2453 {
2455 }
2456 }
void WriteLiteralByOptions(ReadOnlySpan< char > propertyName, ReadOnlySpan< byte > value)
void WriteLiteralEscapeProperty(ReadOnlySpan< char > propertyName, ReadOnlySpan< byte > value, int firstEscapeIndexProp)

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.WriteLiteralByOptions(), and System.Text.Json.Utf8JsonWriter.WriteLiteralEscapeProperty().