public Object convertToJson ( Object pValue , List < String > pPathParts , JsonConvertOptions pOptions ) throws AttributeNotFoundException { Stack < String > extraStack = pPathParts != null ? EscapeUtil . reversePath ( pPathParts ) : new Stack < String > ( ) ; return extractObjectWithContext ( pValue , extraStack , pOptions , true ) ; }
Convert the return value to a JSON object .