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

◆ WriteStringEscape() [2/12]

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

Definition at line 1107 of file Utf8JsonWriter.cs.

1108 {
1109 int num = JsonWriterHelper.NeedsEscaping(utf8PropertyName, _options.Encoder);
1110 if (num != -1)
1111 {
1113 }
1114 else
1115 {
1117 }
1118 }
void WriteStringEscapeProperty(ReadOnlySpan< char > propertyName, DateTime value, int firstEscapeIndexProp)
void WriteStringByOptions(ReadOnlySpan< char > propertyName, DateTime value)

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.WriteStringEscapeProperty().