class JSONExtractInt64
        extends UDF {
    private final JSONPath path;
    private final LongWritable result = new LongWritable();

    public JSONExtractInt64(String path) {
        this.path = JSONPath.of(path);
    }

    public LongWritable eval(Text input) {<FILL_FUNCTION_BODY>}
}

        JSONReader parser = JSONReader.of(input.getBytes(), 0, input.getLength(), StandardCharsets.UTF_8);
        long value = path.extractInt64Value(parser);
        if (parser.wasNull()) {
            return null;
        }
        result.set(value);
        return result;
    
<no_super_class>