Points_encoded - Graphhopper core

Hi everyone,
I have a problem with points encoded,
How to encode the points in the returned results instead of the list of points?
I am developing from core graphhopper from github

thank you