Skip to content

JsonIgnoreAttribute.SetSetting

robbyxp1 edited this page Feb 9, 2025 · 1 revision

JsonIgnoreAttribute.SetSetting Class

Class to hold a JSON ignore setting for a single set

public class JsonIgnoreAttribute.SetSetting

Inheritance System.Object 🡒 SetSetting


Constructors


JsonIgnoreAttribute.SetSetting.SetSetting() Constructor

Construct default set setting

public SetSetting();


JsonIgnoreAttribute.SetSetting.SetSetting(string) Constructor

Construct a set setting for a named set

public SetSetting(string set);
Parameters

set System.String


JsonIgnoreAttribute.SetSetting.SetSetting(string, Operation, string[]) Constructor

Construct a set setting for a named set with include/ignore and a list of names

public SetSetting(string set, QuickJSON.JsonIgnoreAttribute.Operation ignoreorinclude, string[] names);
Parameters

set System.String

ignoreorinclude Operation

names System.String[]


Properties


JsonIgnoreAttribute.SetSetting.Ignore Property

FromObject: If non null, list of object members to ignore completely

public string[] Ignore { get; set; }
Property Value

System.String[]


JsonIgnoreAttribute.SetSetting.IncludeOnly Property

FromObject: If non null, list of object members to include only

public string[] IncludeOnly { get; set; }
Property Value

System.String[]


JsonIgnoreAttribute.SetSetting.Set Property

Set name. Attribute sets allow selection of different outputs from the same class

public string Set { get; set; }
Property Value

System.String

Clone this wiki locally