def ele_by_json(opts)
      opts[:onlyFirst] = true
      result = _by_json(opts).first
      raise _no_such_element if result.nil?

      result
    end
def ele_by_json(opts)
      opts[:onlyFirst] = true
      result = _by_json(opts).first
      raise _no_such_element if result.nil?

      result
    end
see eles_by_json