Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
JsonParameterInfo.cs
Go to the documentation of this file.
2
4
5internal abstract class JsonParameterInfo
6{
8
11
13
14 public JsonConverter ConverterBase { get; private set; }
15
24
25 public object DefaultValue { get; private protected set; }
26
27 public bool IgnoreDefaultValuesOnRead { get; private set; }
28
29 public JsonSerializerOptions Options { get; set; }
30
31 public byte[] NameAsUtf8Bytes { get; private set; }
32
33 public JsonNumberHandling? NumberHandling { get; private set; }
34
36 {
37 get
38 {
39 if (_runtimeTypeInfo == null)
40 {
42 }
43 return _runtimeTypeInfo;
44 }
45 }
46
47 public Type RuntimePropertyType { get; set; }
48
49 public bool ShouldDeserialize { get; private set; }
50
63
83}
void InitializeDefaultValue(JsonPropertyInfo matchingProperty)
static JsonParameterInfo CreateIgnoredParameterPlaceholder(JsonParameterInfoValues parameterInfo, JsonPropertyInfo matchingProperty, bool sourceGenMode)
override void Initialize(JsonParameterInfoValues parameterInfo, JsonPropertyInfo matchingProperty, JsonSerializerOptions options)
virtual void Initialize(JsonParameterInfoValues parameterInfo, JsonPropertyInfo matchingProperty, JsonSerializerOptions options)