-
Notifications
You must be signed in to change notification settings - Fork 0
JToken.MemberAttributeSettings
Rob edited this page Aug 4, 2026
·
3 revisions
Holds the attribute settings found - used in FromObject
public class JToken.MemberAttributeSettingsInheritance System.Object 🡒 MemberAttributeSettings
Member info
public MemberInfo MemberInfo;ignore member if null
public bool IgnoreMemberIfNull { get; set; }if set, sets the memberignore variable for the object below
public System.Collections.Generic.HashSet<string> IgnoreSet { get; set; }System.Collections.Generic.HashSet<System.String>
Only include these members
public System.Collections.Generic.HashSet<string> IncludeSet { get; set; }System.Collections.Generic.HashSet<System.String>
name to call the output
public string Name { get; set; }if the object or array element objects defines JToken ToJToken() then this is called to convert
For ToObject, the equivalent is a constructor public ..classname..(JToken token)
public System.Reflection.MethodInfo ToJTokenConvert { get; set; }if custom format is active for the object itself (marked with [JsonCustomFormat])
Overrides ToJTokenConvert
public bool UseCustomConverter { get; set; }if custom format is active for array/list/dictionary elements, not the object itself (marked with [JsonCustomFormatArray])
public bool UseCustomConverterOnArrayElements { get; set; }