code: public <T> T map(Object jsonObject, MapFunction mapFunction, Configuration configuration) {
          notNull(jsonObject, "json can not be null");
          notNull(configuration, "configuration can not be null");
          notNull(mapFunction, "mapFunction can not be null");
          EvaluationContext evaluationContext = path.evaluate(jsonObject, jsonObject, configuration, true);
          for (PathRef updateOperation : evaluationContext.updateOperations()) {
              updateOperation.convert(mapFunction, configuration);
          }
          return resultByConfiguration(jsonObject, configuration, evaluationContext);
      }
docs: Replaces the value on the given path with the result of the {@link MapFunction}.
  
  @param jsonObject    a json object
  @param mapFunction   Converter object to be invoked
  @param configuration configuration to use
  @return the updated jsonObject or the path list to updated objects if option AS_PATH_LIST is set.