Method GetJsonPropertyName
GetJsonPropertyName(PropertyInfo)
Helper to get either the Json property named (specified by [JsonPropertyName(name)] or the actual property name.
public static string GetJsonPropertyName(PropertyInfo pi)
Parameters
pi
PropertyInfo