@Deprecated
    public Object collectOne(Reader reader, JsonPath... paths) {
        return collectOne(reader, Object.class, paths);
    }
@ Deprecated public Object collectOne ( Reader reader , JsonPath ... paths ) { return collectOne ( reader , Object . class , paths ) ; }
Collect the first matched value and stop parsing immediately

@param reader json reader
@param paths  JsonPath
@return Matched value
@deprecated use {@link #collectOne(InputStream, JsonPath...)} instead