code: public Object collectOne(InputStream inputStream, String... paths) {
          return collectOne(inputStream, compile(paths));
      }
docs: Collect the first matched value and stop parsing immediately
  
  @param inputStream Json inpustream
  @param paths       JsonPath
  @return Value