Currently the getter from classes, that encapsulate fields, are not "visible" to the library, so it is not possible to get a value from getter property. Becase getter are "seen" from developer as readonly fields, the library should at least also be able to "read" them.
Current behavior
getter are ignored
Desired behavior
The getters should be evaluated exactly the same as pure fields in classes.
Could be related to https://github.com/JSONPath-Plus/JSONPath/issues/174
Motivation
Currently the
getter
from classes, that encapsulate fields, are not "visible" to the library, so it is not possible to get a value from getter property. Becase getter are "seen" from developer as readonly fields, the library should at least also be able to "read" them.Current behavior
getter are ignored
Desired behavior
The getters should be evaluated exactly the same as pure fields in classes.
Code example