Skip to content

PropertyInfoExtensions Class ​

Definition ​

Extension methods for type PropertyInfo

  • Namespace: JASE.Extensions
  • Assembly: JASE.ReflectionTools.dll

Methods ​

NameDescription
bool IsJsonSerializeable(PropertyInfo property)Returns TRUE if property can be Serialized by JASE.Serializers.Json.Serialize()
bool IsStatic(PropertyInfo property)Evaluates if property is defined as static or instance based
string JsonName(PropertyInfo property, bool camelCase = null)Resolves the name of a property in the JSON payload based on either Newtonsoft.Json or System.Text.Json attributes, falling back to the property name (optionally camelCased).