I have an object graph and one of the accessor methods returns a java Optional and as a result my XPath expression stops from that point onwards.
The xpath is data/someData[1]/optionalObject/field
How can I get JXPath to return the actual object rather than the Optional or does JXPath pre date java Optionals and so it will never work?