Skip to content

ServiceNow.Core

SNow.Core.Utils.ClassReflections

ClassReflections.GetPropertieNamesInJsonFormat<T>() Method

Return a list of json property names found, if no json name is found per property, it return the property name instead

csharp
public static System.Collections.Generic.List<string> GetPropertieNamesInJsonFormat<T>();

Type parameters

T
Model type to extract json property names

Returns

System.Collections.Generic.List<System.String>

Released under the MIT License.