spring-framework / org.springframework.beans / PropertyAccessorUtils / canonicalPropertyName

canonicalPropertyName

open static fun canonicalPropertyName(@Nullable propertyName: String): String

Determine the canonical name for the given property path. Removes surrounding quotes from map keys: map['key'] -> map[key] map["key"] -> map[key]

Parameters

propertyName - the bean property path

Return
the canonical representation of the property path