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

◆ DeserializeAsync< TValue >() [2/2]

static ValueTask< TValue?> System.Text.Json.JsonSerializer.DeserializeAsync< TValue > ( Stream utf8Json,
JsonTypeInfo< TValue > jsonTypeInfo,
CancellationToken cancellationToken = default(CancellationToken) )
inlinestatic

Definition at line 879 of file JsonSerializer.cs.

880 {
881 if (utf8Json == null)
882 {
883 throw new ArgumentNullException("utf8Json");
884 }
885 if (jsonTypeInfo == null)
886 {
887 throw new ArgumentNullException("jsonTypeInfo");
888 }
890 }
static async ValueTask< TValue > ReadAllAsync< TValue >(Stream utf8Json, JsonTypeInfo jsonTypeInfo, CancellationToken cancellationToken)

References System.cancellationToken, and System.Text.Json.JsonSerializer.ReadAllAsync< TValue >().