Click or drag to resize
Json.NET

JsonPropertyAttributeNamingStrategyParameters Property

 
The parameter list to use when constructing the NamingStrategy described by NamingStrategyType. If null, the default constructor is used. When non-null, there must be a constructor defined in the NamingStrategy that exactly matches the number, order, and type of these parameters.

Namespace:  Newtonsoft.Json
Assembly:  Newtonsoft.Json (in Newtonsoft.Json.dll) Version: 11.0.1
Syntax
C#
public Object[] NamingStrategyParameters { get; set; }

Property Value

Type: Object
Examples
[JsonProperty(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })]
See Also