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

◆ ReadCommentHandling

JsonCommentHandling System.Text.Json.JsonSerializerOptions.ReadCommentHandling
getset

Definition at line 286 of file JsonSerializerOptions.cs.

287 {
288 get
289 {
291 }
292 set
293 {
295 if ((int)value > 1)
296 {
297 throw new ArgumentOutOfRangeException("value", System.SR.JsonSerializerDoesNotSupportComments);
298 }
300 }
301 }
static string JsonSerializerDoesNotSupportComments
Definition SR.cs:180
Definition SR.cs:7

Referenced by System.Text.Json.JsonSerializerOptions.GetDocumentOptions(), and System.Text.Json.JsonSerializerOptions.GetReaderOptions().